How to temporarily disable the cache

How to temporarily disable the cache

Imagine that your web site is undergoing some critical changes, and you do not want to constantly purge the images/stylesheets/ javascript or any other cachable content. 

The quick and dirty way to do it is the following: 

Add a new unconditional caching directive that bypasses the cache for all content, like this: 


Publish the new configuration.
Purge the entire service. 

To roll back to a caching mode, simply remove the unconditional cache bypass and publish the configuration