By P K
Currently, i am struggling to install W3 Total Cache on LEMP stack.
I found this one is very helpful https://www.digitalocean.com/community/tutorials/how-to-set-up-wordpress-with-w3-total-cache-on-lighttpd-server
But there is no tutorial like the above one for W3 Total Cache on Nginx.
Can someone guide me to fix the basic issues (conf file, file permissions etc) to make the cache (also minify, CDN) working?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This question was answered by @mdsimoni:
It took a while for me to get mine running. I’m still not sure I did it 100% correctly. But for what it’s worth: In my notes, I used the following sites. http://john-dugan.com/setup-w3tc-nginx/ http://elivz.com/blog/single/wordpress_with_w3tc_on_nginx/ http://danielmiessler.com/study/web-performance/ http://dak1n1.com/blog/12-nginx-performance-tuning
I also use memcached - makes a big difference. run memcached on 127.0.0.1 unless you install it on a separate server. I also use php 55 with with Zend OPcache. According to the W3TC dashboard: PHP version: Not supported: 5.5.x. Supported versions are 5.2.x, 5.3.x, 5.4.x. But I am not having any problems. Of course, that may be why I have Object cache turned off. Still for my needs, the performance is more then adequate. these are the main settings i have set for W3TC you’ll find other settings for nginx on other blogs: Since you will probably be using a different php version your settings undoubtedly will be different from mine. page cache - enabled - disk: enhanced miify - enabled - auto - disk - default jsmin default database cache - enabled - memcached object cache - not enabled browser cache - enabled CDN - not enabled reverse proxy - not enabled
Quite frankly, All that is just the tip of the iceberg, you have a lot of reading to do. good luck.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.