How to setup FastCGI cache for WordPress sites?

After years of cPanel hosting I have considered to setup my own server in DigitalOcean for my high-traffic WordPress (WooCommerce). I am getting tired of dealing with shared hosting companies.

Also I don’t want to pay $300/mo for WP Engine or whatever. Other dropshipping guys have said a cloud server is enough to handle my traffic is maybe $5 or $10 each month.

I used Cloudflare for my CDN but I know caching is going to be critical for my site.

I know that Nginx FastCGI cache is the most popular option. However I’m used to only WordPress caching plugins.

Just for my information (not sure I will be able to do it alone) I would like to understand what is required if I will do:

  • setup new DO cloud server
  • install Nginx, PHP, MySQL etc
  • activate FastCGI cache
  • how to manage the settings in the future
Show comments

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.

Configura seu servidor com WordOps. Ele tem FastCGI e Redis integrados. É uma excelente opção para lojas com alto tráfego.

Hi there,

Indeed WordPress + Nginx + FastCGI + Cloudflare sounds like a very solid setup.

I could suggest the following approach:

  • To install WordPress with Nginx you can follow the steps here:

  • After that to enable FastCGI, you can follow the steps here:

On another note, make sure to also tweak your MySQL service for optimal performance by following the steps here:

Let me know how it goes! Regards, Bobby