-
- 712 Posts
That template seems ok so if its the template used on the slow page, must be something in one of the chunks it calls that slows it down. (Like $nav or $header)
jpdevries
-
- 5 Posts
Thanks for the info.
Yes, it's the initial page load that's the killer now. I tried disabling the plugin but to no avail.
I'm not sure why it it won't load like a normal HTML site, it's as if it is trying to call something that isn't there and getting tripped up for a while. I looked at the getCache plugin but to honest found it all quite confusing.
That's odd, disabling that plugin should have sped it up quite a bit.
Here's what's happening: with the phpThumbOfCacheManager plugin enabled, every time you clear the cache, the plugin clears out the phpthumbof cache. That means that all of the image thumbnails have to be re-created. Image processing puts a lot of load on the server. It's normal for that to take a while. It can't load like a normal HTML site (uncached) because it's actually creating the images on the fly.
If you disable the plugin, the cached thumbnail images should not be cleared out when the cache is cleared. That means that the thumbnails don't have to be re-generated, and it should run much faster. All it has to do is figure out that it already has the thumbnail cached - normally that's a fairly trivial operation.
Try this - with the plugin disabled, visit every page of the site. Then clear the cache. Then visit each page again. I bet it's a lot faster.
I wouldn't worry too much about getCache, as I don't think it will help much in this situation anyway. You could use it to put the Wayfinder and getImageList calls into different cache partitions, so that the cache for those calls is only cleared when you want to clear it, but the site is small enough that shouldn't matter much.
-
- 5 Posts
Hi Freejung
Just to say that I think you've hit the nail on the head, just doing a little more testing but everything seems to be working well now so thank you so much for your help, I really appreciate it.
Hopefully I won't bother you again!
Paul
;-) no worries, bother me any time.