Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a site load balanced across two servers using flexible load balancing and for some reason, the slave server is currently not executing the CacheUpdated event on the slave server and is not showing recent changes.
The distributed cache last updated values are the same on both servers but only the master server logs show the cache updated event having been fired. As such, the slave server is currently behind the master.
There are no relevant entries in the log file to suggest an error occurred so I'm not entirely sure what is going on or how this can happen with the lastupdated id being updated but the changes not actually being visible.
The event handler is wired up as follows:
protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
CacheRefresherBase<PageCacheRefresher>.CacheUpdated += PageCacheRefresher_CacheUpdated;
private static void PageCacheRefresher_CacheUpdated(PageCacheRefresher sender, CacheRefresherEventArgs e)
// Removed check for UmbracoContext - See https://issues.umbraco.org/issue/U4-10150 for reasons why
LogHelper.Info<EventHandlers>("Page cache refreshed.");
P.S. I should point out that we had a similar issue before but that was resolved
Update: I've removed the slave from the load balancer and recycled the application pool. The CacheUpdated event handler is working again but the cause of the problem is still unexplained!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted