I'm confused about what I need for WordPress optimization - pagespeed, varnish, memcache, fastcgi, opcache...

Posted August 20, 2017 6.3k views
NginxUbuntuCentOSMySQLPHPServer OptimizationWordPressDebianCachingMariaDBLEMPRedisUbuntu 16.04

Hello! Thank you for passing by, you’re amazing!

I got a little confusion about what I exactly need for WordPress. I got this and that article talking about using different modules but I don’t know if it’s a good idea.

The problem I’m facing the most, is the server response time - 2.4 seconds on previous LAMP stack. Now I’m trying out with centos, lemp stack and everything I got right now is nginx + mod pagespeed. Which are up and running(didn’t make the speed test yet).

I’m thinking about installing varnish (do you have any good guides to setup varnish + pagespeed + nginx?).

Buuut.... There’re a lot more modules and I don’t know what build to choose.

  • Varnish + ESI
  • Pagespeed
  • Redis
  • Memcache
  • OpCache
  • ZenCache?
  • FastCGI
  • XtraDB tables

Which LEMP stack?

CentOS 7, NGINX, MariaDB, PHP7-FPM

What else? Thank you, have a great day.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

Check this combination “Nginx PHP-FPM with pagespeed and memcached”

It is a detailed guide, this might help.

best php stack is for 2020 now


for single side wordpress 4gb ram 2cpu you can handle lottttttt of audience lot of page speed even bad theme %90 even no caching plugings........