Skip to main content

Posts

Showing posts with the label Custom Caching with Sitecore

Custom Caching with Sitecore

Custom Caching with Sitecore Caching has been always black box and full of surprise, if we define caching strategy in our application it will do surprise with the performance and if not then will create mess. Let's first understand Caching A cache is a temporary storage area. Caching works best with data that change infrequently. Caching makes a copy of data that can be returned much faster than from the original source. What we have in Sitecore for cacheing Sitecore internally uses various caches to Store data, Render presentation logic In-memory information in order to improve performance and response time.These are caches that inherit from Sitecore.Caching.CustomCache class . Let's talk about how we can implement custom caching in SItecore Custom Caching component provides capability to cache application specific items. e.g., Site configuration, Custom View Model etc. We can have following caching implementations which are injected at runtime based on the config...