The IObjectInstanceCache and ISynchronizedObjectInstanceCache interfaces expose the built-in cache system with custom dependency and eviction policies. Episerver CMS and Commerce use this to cache both content and system data, and it can be used to cache custom data. The ISynchronizedObjectInstanceCache interface synchronizes cache removal among servers in a load-balanced environment using the event system.
Note: If you were using the CacheManager class in CMS, you should take a dependency on ISynchronizedObjectInstanceCache instead, because the new interface provides the same functionality. The IObjectInstanceCache supersedes IRuntimeCache (that was previously only used by CMS) because it supports different cache implementations by abstracting the CacheDependency class and other things. The underlying default implementation of IObjectInstanceCache still relies on HttpRuntime.Cache.