General recommendations
Use the following general recommendations when assessing what is needed with regards to Sitecore cache settings:
-
Monitor the cache size. It should be between 70-80%. If it surpasses this range, the cache should be increased. If it is greatly below this range, Cache levels are too high and should be reviewed. Cache sizes represented on the cache.aspx page do not reflect 100% the real size of the cache. Most cache sizes are approximative. The only caches that are close to reality are the Prefetch caches.
-
Make sure that Prefetch caches are also not too big, as the cost of searching through a dictionary of several gigabytes and the cost of cache invalidation can be higher than calling the database.
-
Verify the following caches regularly:
A realistic size for the Data and Items cache is approximately 1024MB for master and web database. For the core database, consider starting with 512MB for the same caches.
-
Prefetch cache – core, master, web database, depending on which server is being investigated. For CDs, the most important is web, for Content Authoring – master and core. Setting it to 2-3GB for content databases is an OK value.
-
Data and Items caches:
-
-
Tune HTML and data cache sizes by overriding the Sitecore configuration with include patching.
-
Use Smart Publish to minimize unnecessary cache invalidation.
-
Monitor cache hit ratios through
/sitecore/admin/cache.aspx.