Skip to main content
4 votes

Rendering is Cached

There may be many reasons. If you have multiple CD servers and .cshtml file deployed only one server correctly. File location is not correct, you can cross check if file location is correct by ...
Rishiraj Shekhawat's user avatar
3 votes

How to ensure rendering cache invalidates after a direct edit to the .CSHTML file

The easiest way to clean the HTML cache is to trigger publish. Sitecore doesn't have watchers on .cshtml files, so it is expected behavior.
Anton's user avatar
  • 3,861
2 votes
Accepted

Caching HTML for rendering based on "page" item data, not datasource

As long as the output is always the same on each page then you can use Vary By Data, this will cache based on the context item if no data source is set. Note that as per Mark's point this might not ...
Jeroen's user avatar
  • 1,224
2 votes

Integrated GraphQL cache is not working in Sitecore XP

This will work if you have done the following: On your site definition item, enable Cache HTML. Ensure that Html cache size (in MB) has a value. Publish the item. Restart your CM and CD instances. ...
Marcel Gruber's user avatar
2 votes
Accepted

Is there a way to add a cache buster to the RenderFormScripts Html helper function?

You can override IncludeFiles processor of forms.renderForm pipeline and add custom parameter for all the scripts (or styles). Class below adds DateTime.Now.Ticks to scripts only. You can use your own ...
Marek Musielak's user avatar
  • 24.2k
2 votes
Accepted

Html cache on rendering with "vary by data" in Multiligual site

Sitecore internally uses the current language in the cache key so the above approach will work fine for different language versions as well. It treats every sublayout or rendering as a different ...
Mahendra Shekhawat's user avatar
1 vote
Accepted

Cache clean-up on Publishing:End:Remote with multiple CMs

Remote publish end event will be able to clear the cache on all the CM servers. You need to make sure the scalability setting for multiple CM servers are set properly. When configuring multiple CM ...
ckhanna's user avatar
  • 3,709
1 vote

HTML rendering cache performance logs

This is a big topic with many blog posts and presentations on it. Have you already used the cache.aspx and stats.aspx to see what happens? You can find these in the Admin section of the Control Panel....
Michael West's user avatar
  • 18.6k
1 vote
Accepted

Lost on HTML Output Caching in SXA

There can be other reasons why the website is at 100%, sometimes this won't be mitigated by caching. It depends on how your current setup is and what components you have in place, as you need to ...
Cristi Vulturar's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible