Improving site performance by caching renderings

Sitecore provides you with a feature to cache the output of presentation components to maximize performance and throughput by applying caching settings on renderings or sublayouts. It is also known as Output Cache or HTML Cache.

In this recipe, we will implement different static and dynamic output caching provided by Sitecore based on its usage.

Getting ready

In this recipe, we will consider that you have already created different components such as Breadcrumb, Title and Body, and Footer renderings. You can understand that the Footer will have the same output on all the pages for any device, while Breadcrumbs will get changed on every page. Also, chances are that we have content pages that can vary ...

Get Sitecore Cookbook for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.