Speeding up the first load (PERFORMANCE)
-
Hi guys,
I’ve done a lot of optimisation with WordPress, and it’s running really nicely. However, one thing I noticed is that when the blog isn’t loaded by anyone in a while the first load seems to take 8–10 times longer to load.
For example, I can refresh my blog repeatedly and every time I’ll see something like this in the footer:
<!– 22 queries. 0.118 seconds. –>
However, leave it for a bit longer and it’ll be more like this:
<!– 22 queries. 1.240 seconds. –>
After loading that slowly once, it’ll return to the previous fast loading until it’s not visited again in a short while.
I’m just wondering if anyone knows what exactly causes this behaviour. I would assume it’s some kind of caching, but I don’t know where. I haven’t enabled the WordPress object cache, nor do I use a caching plug-in. And just as a note, enabling WordPress’ caching does not seem to stop this happening.
Ideally I’d like to be able to discern where the caching is occurring, and then maybe extend that time so it’s less likely anyone will encounter the slow load, and instead almost always receive the fast loads.
And as another general note, network latency or anything like should be irrelevant here as the number that increases is WordPress’ internal generation time, not how long it takes me to download it — this occurs before any data transfer occurs whatsoever.
Thanks in advance to anyone who can lend their expertise! 🙂
The topic ‘Speeding up the first load (PERFORMANCE)’ is closed to new replies.