Each presentation component may generate different output under different conditions. For example, a footer rendering might generate the same output for all pages, while a breadcrumb rendering may generate different output for different URLs, and a navigation rendering might generate different output for different users based on their access rights to content items. The layout engine can cache the output of each sublayout and rendering used by each page view. Developers use rendered output caching to improve performance by not executing sublayouts and renderings under different conditions, instead retrieving output generated previously by that component under the same conditions. While output caching does not eliminate the need for data structure and code optimization, avoiding code execution can increase performance significantly, e
specially in high-volume solutions. Page caching, such as by using the OutputCache directing in an ASP.NET Web form, can consume excess memory a component generates the same output for numerous page views. Page caching does not support dynamic features. Sitecore component output caching allows the output of each component to vary by a number of criteria as described in the following sections, caching only when appropriate.
Important
Caching is crucial to overall solution performance. The quickest and easiest way to increase the throughput, and hence capacity, of a Sitecore solution is to optimize output caching configuration.
Important
Do not cache the output of components that respond to ASP.NET page events without understanding the implications.
Important
Do not confuse Sitecore rendered output caching with ASP.NET page and fragment caching as implemented with the OutputCache directive in Web forms and Web user controls. Developers should not use ASP.NET page and fragment caching with Sitecore content, or must clear the ASP.NET cache when required, such as after Sitecore publishing operations. In Sitecore documentation, the term caching refers to Sitecore rendered output caching unless otherwise specified.
link 1 |
|
|
|
landing page |
|
|
|
external |
|
|
|
mailto |
|
|
|
link to an article
id="WC_9860" path="/xsl/Table Generator.xslt" renderringid="{c1e1ec82-4285-444b-bdb2-55a6465bd382}" searchterm="c,c" parameters="searchterm=c">
Testing 10