Bypass cache for mobile user agents, VARNISH+NGINX+W3CACHE
- by Mike McGhee
Right now I'm running Wordpress w/ W3 Cache on nginx with varnish front end. I'm trying to use the WP Touch Pro plugin for wordpress to display mobile sites, but it is not working. Shows the desktop theme still.
I've put the mobile user agents in the rejected user agents box in w3 cache.
Here is the nginx config w3 cache spit out:
BEGIN W3TC…