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?
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: http://world.episerver.com/Forum/Developer-forum/-EPiServer-75-CMS/Thread-Container/2014/8/Scheduled-job-loadbalancing-scenario/
Also this documentation about Remote events for cms 6 might help: http://world.episerver.com/documentation/Items/Tech-Notes/EPiServer-CMS-6/EPiServer-CMS-6-R2/Event-Management-System-Specification/
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).