Sitecore: To Save time disable Sitecore cache and browser cache during development
Cache is required for better performance of application.
During development stage, it is always suggested to disable Sitecore cache and also browser cache to avoid wasting time in recycling application pool or clearing cache from cache admin. To disable it,
<!-- CACHING ENABLED
Determines if caching should be enabled at all
Specify 'true' to enable caching and 'false' to disable all caching
-->
<setting name="Caching.Enabled" value="true" />
<!-- DISABLE BROWSER CACHING
If true, all pages will have:
Cache-Control: no-cache, no-store
Pragma: no-cache
in the http header
-->
<setting name="DisableBrowserCaching" value="true" />
Both the setting should be true; former to avoid Sitecore cache and latter to BrowserCache.
No comments:
Post a Comment