Question

Very high TTFB for our droplet

Hi team,

Please check the following TTFB results from keycdn.com which is very high for our droplet. Kindly check and resolve the issue.

Thanks Ramkumar

HTTP/1.1
200
Server: nginx
Date: Mon, 17 May 2021 08:57:46 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 27407
Connection: keep-alive
Link: <https://acabuy.com/wp-json/>; rel="https://api.w.org/"
Link: <https://acabuy.com/wp-json/wp/v2/pages/1016>; rel="alternate"; type="application/json"
Link: <https://acabuy.com/>; rel=shortlink
Vary: Accept-Encoding
Content-Encoding: gzip
time_namelookup: 0.013836
time_connect: 0.160147
time_sslconnect: 0.470937
time_pretransfer: 0.471006
time_redirect: 0.000000
time_starttransfer: 3.005623
---------
time_total: 3.005826

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.

Hi there,

There are a few things that you could do in order to reduce the TTFB for your website:

  • Install a caching plugin like WP Super Cache or W3 Total Cache. That will reduce the overall load on your server as the content will be served from cached files.

  • Check the server resource utilization and make sure that you have enough RAM and CPU. You can do that by following the steps here.

  • Reduce the number of overall plugins that you are using

  • You could also try tweaking the Nginx configuration for better performance as per this tutorial here:

https://www.digitalocean.com/community/tutorials/how-to-optimize-nginx-configuration

Regards, Bobby