Whenever I add a new page and publish it, or I sort a set of pages in a different order, my webiste is not updating to reflect the new changes. However, if I recycle the application pool in IIS and then refresh the page, the new changes can be seen.
Does anyone know why the new changes are shown on my site only when I recycle the application pool in IIS?
Is your site spanned across multiple servers? If so you need to configure Umbraco for load balancing, so it "pings" each server with the update and forces each server to refresh it's cache.
No my site is not spanned across multiple servers. Its just on a single server running on IIS.
Funnily enough, the pages where its causing an issue, I have a repeater on that page which lists all the children below that page. When I add a new child page the repeater picks up the new page and displays it.
However, I also have a few user controls on that page (for navigation menus) which also contain a repeater within them to display the child pages. When I add a new child page the repeater in the user control does not pick up the new page and hence does not display it in the navigation menu (unless I recycle the app pool in IIS).
Therefore it does display the new child page via the main repeater that is on the page, but just not within the repeater that is in the user control. So I'm thinking it might be more of an issue with the datasource for the repeater in my user controls being cached, and its not getting cleared/reset unless I recycle the app pool in IIS.
Any ideas on how to resolve this problem anyone? Any help much appreciated.
No I'm not calling it via a macro. I've just created a user control which is referenced directly in the page template.
I'm thinking it might be more of a .NET issue rather than an Umbraco one. But then again I've done the exact same thing for other sites using different a CMS and its never been an issue before.
Website not updating unless recycle app pool
Hi,
Whenever I add a new page and publish it, or I sort a set of pages in a different order, my webiste is not updating to reflect the new changes. However, if I recycle the application pool in IIS and then refresh the page, the new changes can be seen.
Does anyone know why the new changes are shown on my site only when I recycle the application pool in IIS?
Thanks.
Hi Twentysix,
I am having the same problem. I can't fix this problem even deleting the temporary files in the Client_Dependency folder.
Regards,
Eduardo Macho
Is your site spanned across multiple servers? If so you need to configure Umbraco for load balancing, so it "pings" each server with the update and forces each server to refresh it's cache.
This wiki post has some of the basics: http://our.umbraco.org/wiki/install-and-setup/installing-umbraco-for-load-balanced-environments
If this is not the case, try checking the umbracoLog table and see if any related errors.
No my site is not spanned across multiple servers. Its just on a single server running on IIS.
Funnily enough, the pages where its causing an issue, I have a repeater on that page which lists all the children below that page. When I add a new child page the repeater picks up the new page and displays it.
However, I also have a few user controls on that page (for navigation menus) which also contain a repeater within them to display the child pages. When I add a new child page the repeater in the user control does not pick up the new page and hence does not display it in the navigation menu (unless I recycle the app pool in IIS).
Therefore it does display the new child page via the main repeater that is on the page, but just not within the repeater that is in the user control. So I'm thinking it might be more of an issue with the datasource for the repeater in my user controls being cached, and its not getting cleared/reset unless I recycle the app pool in IIS.
Any ideas on how to resolve this problem anyone? Any help much appreciated.
Thanks.
Are you calling the usercontrol via a macro? If so you might check the cache settings on that
No I'm not calling it via a macro. I've just created a user control which is referenced directly in the page template.
I'm thinking it might be more of a .NET issue rather than an Umbraco one. But then again I've done the exact same thing for other sites using different a CMS and its never been an issue before.
Hi folks,
I solved the problem
Just add this two lines of code into the head section of your pages or masterpage:
Add to the web.config (under System.Web)
Hope this helps you too.
Sincere regards,
Eduardo Macho
is working on a reply...