This question has been archived.

Reduce server response time

January 8, 2016 7.3k views
WordPress VPN Ubuntu

How do I reduce my server response time, its about 1.2 seconds on average. Im using digital ocean with server pilot.

14 Answers


Slow responses for an individual request mean your PHP scripts are slow. You can check how long each script takes to execute by looking at your app's PHP access log located at:


For example, the lines will look like this: - [09/Jan/2016:20:10:58 +0300] "GET /index.php" 200 0 - 15073 32042 0.017 4194304 0.00% 0.00% "/"

In that example, the value 0.017 is the number of seconds PHP spent processing the request. On your server, you'll like see larger times.

If you're using WordPress, the most common cause of slowness is slow plugins. If you're on WordPress, try disabling all plugins, customizations, and using the default theme to see how fast your app is without any 3rd party code.

Also, if the 1.2 seconds isn't the time for the response of a single script but rather how long your browser takes to load all resources from the page, then it may have nothing to do with slow PHP scripts and instead the problem is your site is loading large numbers of large resources (stylesheets, images, etc.) and it's taking the browser a while to load all of these. This can generally be solved by cleaning up the site's HTML and getting rid of unnecessary things included in the page.

I hope that helps.

I was going to post this question. Glad that it is already answered.

Using wordpress with digital ocean its simply down to the amount of plugins you use. The less bloated your theme the fater the server response time. We have re-written all our themes to require no plugins.

The response time is now 0.03s

I have been getting "Reduce server response time" issues with the Pagespeed Insights tool.

To test whether it is due to some slow PHP script or Wordpress or hosting issue, I duplicated my website at Digitalocean and pasted it in Google Cloud - Google Compute Engine instance.

Problem solved! In Google Cloud I'm able to get faster server response times and pass the Pagespeed test with flying colors even with the smallest VPS in gcloud.

So it's not due to PHP or Wordpress. Digitalocean server has server response time issues. The difference was between 300ms and 1s.

  • how did you "copy and paste" your website at digitalocean? Was this a simple wordpress export/import or did you clone the disk image and transfer it to GCP? What methods did you use, I am struggling with this using a node app.

really digital ocean is optimized , now my site is loading quickly compare to eariler.

Anda ingin memesan payung berkualitas ? untuk berbagai macam jenis payung yang sesuai untuk souvenir pastikan memilih
payung keren berkualitas
pusat payung bagus
tempat pesan payung terbaik

Well, I believe DigitalOcean is providing the best solution to get rid of this server response time.

I like this article, Anda ingin memesan payung berkualitas ? untuk berbagai macam jenis payung yang sesuai untuk souvenir pastikan memilihpayung keren berkualitas.(

Pengobatan alami untuk mengatasi penyakit kista cek di sini dan ini yang menyediakan informasi menarik tentang kesehatan.

Have another answer? Share your knowledge.