Really long load time

wordpress

#1

My site has been on Cloudflare for a long time now but recently, things have gone really slow.

Each GET request from Cloudflare would take more than 15seconds and for some reason, the request has been driving my database nuts.

https://gtmetrix.com/reports/www.divinedaolibrary.com/MgsZ2r4g - the page is blank right now due to a bug but even so, it’s strange that the page would take 19 seconds to load just 2KB of data.


#2

I’m going to blame this one on your server. If you :grey: your server’s entry in Cloudflare DNS settings, I bet it’ll still be slow.

Do you have a page caching plugin? That should help speed up page delivery.


#3

Yes. I do have a caching plugin installed. I have tons of optimisation plugin install but as you can see, it is the GET request towards Cloudflare that is really holding up the whole process.


#4

Those requests appear to be going to the origin server (retrieving non-cached or expired content) and appears to be very unhappy…

“Error establishing a database connection”


#5

1 of 3 tests here show the same result:
https://www.webpagetest.org/result/180605_51_a3ad48aaf9965972461822325bf3c12f/


#6

@cscharff
Does that mean that the caching is not properly done on my end? (Sorry new to this. Learning along the way.)

Currently, there is a database connection issue due to an overloaded CPU (Apparently, there are too many repeated request being sent).


#7

You said it’s been working well for a long time. Something must have changed. And now your database is overloaded. Any new or updated plugins? Do you know what’s sending the repeated requests to the database?

You could try turning off your plugins to see if that helps, then turn them back on one by one to see which one(s) could be causing the problem.


#8

@sdayman. Thank you so much… OMG. It really was a plugin ruining everything. It was Far Future Expiry.


#9

This topic was automatically closed after 14 days. New replies are no longer allowed.