I have configured and tuned site caches many times, but I feel like I still don't fully understand what the
DisableBrowserCaching setting does. I have read all of the docs and I have done a little research on the
Cache-Control: no-cache, no-store Pragma: no-cache headers, but it seems like everything I read assumes that I already know what it is that I'm looking to disable caching for.
Sitecore's documentation states the following:
When DisableBrowserCaching is true, Sitecore sets the following HTTP headers for each requested item (excluding media items):
Cache-Control: no-cache, no-store Pragma: no-cache
These HTTP headers instruct Web clients, including edge-caching devices, not to cache the page. Web clients can cache CSS, media, and other resources used by the page
From what I can tell, this is saying that media, CSS, JS, etc. will still be cached, but the "page" won't be. What I am struggling to find is confirmation on what exactly the "page" is.
It looks like the "page" is supposed to refer to the actual HTML of the page. This would make sense, since Sitecore defaults
DisableBrowserCaching="true", and a Sitecore site doesn't often include pages that have entirely static HTML.
Can anyone help to clarify this setting for me and maybe provide a situation or two when it would be set to