Configure HTML/component cache values


How to configure Sitecore Content Delivery HTML/component cache values.

Applies to

Content Delivery

The HTML cache (also known as the output cache or component cache) contains the output generated by individual renderings under different conditions. To configure HTML/component cache values:

  • Create a patch file for the <sites> element and set the htmlCacheSize attribute for each of your sites as in the following example:

    <configuration xmlns:patch="" 
                <site name="website" set:htmlCacheSize="300MB"></site>
                <site name="customsite" set:htmlCacheSize="300MB"></site>

See Configure HTML caching for information about caching options at component level.