November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
In 7.5 you can use EPiServer.Framework.Cache.ISynchronizedObjectInstanceCache which e.g. expose method Insert that takes a CacheEvictionPolicy as a parameter. You can pass in cacheKeys that you are dependent on to the CacheEvictionPoilcy constructor. EPiServer.DataFactoryCache have static methods to create cachekeys for content (applies to content even if some of the method names are named with Page).
Thanks, I now use:
EPiServer.CacheManager.Insert(
key,
item,
new CacheEvictionPolicy(
new List<string>() { DataFactoryCache.PageCommonCacheKey(dependencyLink) }
)
);
Hi! Is it possible to have a cache dependency to a page in a load balanced environment? All I can find to support this is EPiServer.CacheManager.RuntimeCacheAdd which is deprecated and EPiServer.CacheManager.Insert doesn't have support for this, so what's the plan for these scenarios?