Start a new topic

Disabling cache


How can I disable the cache when working with the frontend themes?


1 Comment

Any theme file changing cause cache invalidation (similar to ASP.NET razor templates).

But if you wants to disabling cache you should make follow changes in storefront  web.config

To disable 'full page caching'


	<outputCache defaultProvider="CacheManagerOutputCacheProvider" enableOutputCache="false"> 


To disable  theme templates and API data caching need to set cache expiration 1s


 <cacheManager xmlns="">
	<handle ref="runtimeMemory" name="inMemoryCacheHandle" expirationMode="Absolute" timeout="1s" />


Login or Signup to post a comment