Hi I am having extremely bad load times for my website.
“In our test, your server responded in 1.5 seconds”
I have built it on a 4CPU 4GB ram droplet.
Its running WordPress and woocommerce and couple of other plugins.
As far as testing it with out any plugins I get a response time of about .4 /.6 seconds.
But I need the other plugins to make the site what it is. Is there any way to improve the sites response time?
I.e server configuration / DB ?
Currently the server is set up with Centos 7 + plesk. I have also tested the site on another server with the same results.
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!
Okay so I found a solution myself and thought I would share it.
I have used New Relic to diagnose response times on my application.
This highlighted that the wp-cron file was using about 600ms I googled this and found that wordpress runs a virtual cron job every time a page loads!
This can be be switched off in the wp-config.php which I did and then scheduled it separately at 15 minute intervals.
Secondly New Relic highlighted to me I was requesting a Trust Pilot feed on every homepage load which greatly varied the response time depending on Trust Pilot. I had forgot to create a cache of this file. I am now going to download the feed separate and call that from a cron job too.
My response time is now down to .8 seconds almost half!. Going to keep monitoring and improving as much as I can.
Hope this helps you all.
Are you using apache with your server? You could always run nginx as a proxy server to improve delivery speed. Also you might want to look into varnish for your cache.
Those 2 should give you and improvement.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.