Hi, I have been using EasyEngine for my Wordpress blog on a linode and it works great. I’m using WpTouch-Pro-3 plugin in conjunction with W3 Total Cache plugin (Single site). The issue that I’m running into is that when I view the site in mobile/tablets, it gets switched to Desktop theme instead of staying with the mobile theme.
After contacting WpTouch-Pro-3 support, they recommended to disable the Browser cache in W3 Total Cache plugin which I did but no success since the problem continues to exist.
After googling, I found this thread which is exactly what I need to do:
In EasyEngine setup, the fastcgi configurations are stored in 2 locations:
/etc/nginx/conf.d/fastcgi.conf
/usr/share/easyengine/nginx/conf.d/fastcgi.conf
I searched around in this site but no success. So here’s my question:
-
To store the different cache for mobile & desktop themes, the post suggests to change the parameter fastcgi_cache_key. Can I simply update both above files or should I directly override this in the site’s nginx config such as in the top of the file above Server configuration? What’s the recommended method?
-
To purge a selected theme from cache, what changes should I be doing to this configuration?
Since this is on the production site, I don’t want to change them directly w/o understanding the consequences.
Thanks for your support, JK