Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

EPiServer load balancing - cache problem



I’m working with a load balancing site (EPiServer 6R2). When I update a page on server 1, server 2 finds the change fine (I think). The page is updated on server 2 so that should be right. T


But I’m using a scheduled job to cache the startpage (fetching page listings and so on with EPiServer.CacheManager). When I’m running the job on server 1, server 2s cache is just being empty not updated. The result I’m after is to share cache like distributed cache, or update the other server’s cache. Is my load balancing setup wrong or how can I update the cache on both servers from the scheduled job?

Apr 20, 2016 10:51

Hi, your configuration is most likely not wrong if working as you described. :)

Have a look at this thread were they are talking about this issue:

Also this documentation about Remote events for cms 6 might help:

Apr 20, 2016 11:33

In EPiServer caching is local. Cache invalidation is distributed. Meaning if you add something into cache on server 1, it won't automatically be available on server 2. But if you remove something from cache on Server 1 it will automatically be removed from Server 2 (if setup is correct).

Apr 20, 2016 12:28
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.