By default, it seems that Sitecore is not caching pages. In web.config install this
<setting name="DisableBrowserCaching" value="false"/>
and create a pipeline processor
page.Response.Cache.SetExpires(DateTime.Now.AddSeconds(60));
page.Response.Cache.SetCacheability(HttpCacheability.Public);
but it didn’t work, the head of the answer remains no-cache. By the way, I'm adding a pipeline to renderLayout, does anyone know? thank!
source
share