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

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.

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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…