Quantcast
Channel: WordPress.org Forums » [W3 Total Cache] Support
Viewing all articles
Browse latest Browse all 19282

gruvii on "[Plugin: W3 Total Cache] Bypass cache programatically"

$
0
0

Is there a way to bypass the W3TotalCache programatically in some cases? I know you can disable caching for logged in users and such for W3TotalCache already, but it would be nice to have a hook to do so. I have one of the more complex setups using CloudFlare and Amazon AWS on a multi-site setup and for dev purposes it would be great to be able to programatically disable the cache or minification, etc in certain instances.

Example Case:
http://www.domain.com -> cloudflare
direct.domain.com -> points to your host, but pulls minified, cached content.

I would like to do something like
dev.domain.com and have that subdomain bypass the caching/minification/ etc.

Right now I achieve this using the option to bypass the cache based on the user agent string and using a Chrome extension. But this is not the best way for many reasons.

http://wordpress.org/extend/plugins/w3-total-cache/


Viewing all articles
Browse latest Browse all 19282

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>