Configure HTML/component cache values
Current version: 10.2
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 thehtmlCacheSize
attribute for each of your sites as in the following example:RequestResponsexml<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>
See Configure HTML caching for information about caching options at component level.