-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nightly Cache clear breaks redirects #31
Comments
Why is the cache getting cleared every night? Is that a custom clearer that you built? |
I am not 100% certain that is what is actually happening, but it was all I could see. I looked into Sitecore caches and it looks like all of our settings in the site's web.config are pretty standard. This is what I am seeing in our logs and what made me believe that the cache was getting cleared and rebuilt: |
What version of the module? |
Can you send me the assembly? iamandycohen at gmail dot com |
I sent it over this morning. Let me know if you got it or if you need anything else. |
Perfect. I will check it out.
…On Fri, Mar 3, 2017, 6:46 AM nhorvat123 ***@***.***> wrote:
URL.Rewrite-1.7.2.zip
<https://github.com/iamandycohen/UrlRewrite/files/816779/URL.Rewrite-1.7.2.zip>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#31 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAxmf9atlUWRz4NSVJxkN9rhVdWDWrKmks5riAuWgaJpZM4MNLJW>
.
|
Please try replacing the Hi.UrlRewrite.dll assembly. If this works, then I will commit the code. |
My bad... that code didn't even execute the ExecuteResult call that performed the redirect. Please try this code, and follow these instructions:
This should illustrate the same functionality as waiting over night. If this works for you, then I will commit my code and upload a new package for all! |
What happened after you manually cleared the cache with this patch? |
After I manually cleared the Sitecore cache, the redirects still did work, so that definitely helped! |
This isn't working for me. The second test doesn't work Re-saving the redirect gets it to work again |
In our Sitecore environment (version 7.2), we have one CMS server, and two CD servers (one for QA and one for Production) with two web servers for each environment. When I create the redirects and publish them to their respective targets, they work perfectly fine.
The issue arises when it looks like the Sitecore cache is clearing each night. On the CMS server's URL Rewrite logs, it looks like it is adding the redirects to the cache, and when I go to the cache admin screen, I can see that the cache looks like it has been built properly. When I look at the web server's URL rewrite logs, the redirects are not being added to the cache.
The following things will allow the redirects to start working again:
After unpublishing and republishing the redirects, I can go to the web server's URL Rewrite logs and see the inbound rules being refreshed in the cache.
Any idea what could be going on and how I can fix this?
The text was updated successfully, but these errors were encountered: