Reducig TTFB on wordpress sites

I’m trying to improve the TTFB on multiple sites that I host on DigitalOcean. They’re all Wordpress. I use Serverpilot to maintain the servers. I run Ubuntu on the servers, all of them updated to 20.04.

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.

Hi @tmichaelcrowe,

In the past when I’ve had to deal with improving TTFB, I’ve found that it’s a mix of looking both into the website and the server itself.

Let’s start with the website itself

  • You’ll need to make sure the size of your pages are not too big by uploading only optimized images.
  • You’ll need to enable GZIP compression. If using Apache, this can be done directly in your .htaccess file.
  • Add some sort of caching. Using WordPress actually helps as there are multiple plugins which can help you deal with that
  • Make sure you are not doing too many requests per page


  • Install some server-side caching. I would recommend using Opcache. It’s a good option
  • Make sure you are using the latest PHP version, it can help a lot
  • While using the latest PHP version, install PHP-FPM and use it as well. It speeds the time of the requests a lot if configured properly.

I hope this would be of some help!

Regards, KFsys