Platform Administration and Architecture

Configure HTML/component cache values

Applies to

Content Delivery

To configure HTML/component cache values:

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

    <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" 
    xmlns:set="http://www.sitecore.net/xmlconfig/set/">
        <sitecore>
            <sites>
                <site name="website" set:htmlCacheSize="300MB"></site>
                <site name="customsite" set:htmlCacheSize="300MB"></site>
            </sites>
        </sitecore>
    </configuration>