DDD Posted August 14, 2012 Share Posted August 14, 2012 Hi, I'm trying to get the speed up on my webshop www.drakfisken.se If I look at Pingdom tools http://tools.pingdom.com/fpt/#!/nFwQdutMX/www.drakfisken.se I see that I have almost 170kb of cache files on every visit. Is that normal? If not, how can I change that? Looks to be an area for improvement... Best regards Hans www.drakfisken.se Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 14, 2012 Share Posted August 14, 2012 Hello DDD, Thanks for the message. I'm wondering, Do you have combine compress and compile (CCC) turned on in your backoffice under Preferences- Performance? That would definitely help if it's not turned on already. Link to comment Share on other sites More sharing options...
bellini13 Posted August 14, 2012 Share Posted August 14, 2012 In general cache is a good thing, and you want more of it. Things that do not change frequently (javascript, css, images) should all be cached so that they do not need to be downloaded every page visit. Let's take your store logo for instance. It appears on every single page, and is 11KB. Why would I want to download that image every single time I visit a new page on your site. 1 Link to comment Share on other sites More sharing options...
DDD Posted August 16, 2012 Author Share Posted August 16, 2012 Hello DDD, Thanks for the message. I'm wondering, Do you have combine compress and compile (CCC) turned on in your backoffice under Preferences- Performance? That would definitely help if it's not turned on already. Everything except High risk HTML compression is turned on. Link to comment Share on other sites More sharing options...
DDD Posted August 16, 2012 Author Share Posted August 16, 2012 In general cache is a good thing, and you want more of it. Things that do not change frequently (javascript, css, images) should all be cached so that they do not need to be downloaded every page visit. Let's take your store logo for instance. It appears on every single page, and is 11KB. Why would I want to download that image every single time I visit a new page on your site. That sounds very wise... but since my logo IS loaded every time I visit a page... and it seems that javascripts and so on is the same, I wonder what is in those big cache-files? And how can I cache the right things? Link to comment Share on other sites More sharing options...
Elliot-VirtIO Posted August 17, 2012 Share Posted August 17, 2012 Hello there! I had a look into it for you, and noticed something rather shocking. Looking at the pingdom output, your files weren't taking too long to download, but instead, there was over 2 seconds waiting on the server to retrieve them from the disk - Indicating a somewhat overloaded server. So, I looked up the IP you're hosted on, and noticed that the server you're on is hosting at least another 26800 websites. Caching generally means that files are generated and stored in a way that they can be quickly retrieved and loaded - But if the retrieval process itself is very slow, then your efforts are somewhat in vein. The only other way to speed this up, a bit, would for the server to host your static files in RAM - But as they're hosting 26800 other websites, I highly doubt they'd agree to it. A positive to take from this though, is that it isn't your fault by any means! If I were you, I'd contact your host and politely ask them to move you onto a less congested server. If not, it might be time to jump ships onto another provider. Link to comment Share on other sites More sharing options...
bellini13 Posted August 17, 2012 Share Posted August 17, 2012 jeez, nice trick to find how many sites are sharing an IP address, never thought to look there. 26,800 websites is insane. Link to comment Share on other sites More sharing options...
DDD Posted August 17, 2012 Author Share Posted August 17, 2012 (edited) Hello there! I had a look into it for you, and noticed something rather shocking. Looking at the pingdom output, your files weren't taking too long to download, but instead, there was over 2 seconds waiting on the server to retrieve them from the disk - Indicating a somewhat overloaded server. So, I looked up the IP you're hosted on, and noticed that the server you're on is hosting at least another 26800 websites. Caching generally means that files are generated and stored in a way that they can be quickly retrieved and loaded - But if the retrieval process itself is very slow, then your efforts are somewhat in vein. The only other way to speed this up, a bit, would for the server to host your static files in RAM - But as they're hosting 26800 other websites, I highly doubt they'd agree to it. A positive to take from this though, is that it isn't your fault by any means! If I were you, I'd contact your host and politely ask them to move you onto a less congested server. If not, it might be time to jump ships onto another provider. I've been in contact with my host and they say there's no problem with the servers. I also did test of my own and created the simplest possible webpage and then tested what speed I got on that. With http://www.drakfiske.../speedtest.html I get a respons time of well under 0,5 seconds... usally around 150 ms. So I can't blame it all on the host... there's something else slowing me down... ???? Can it be the database itself? Fast server but slow database? Edited August 17, 2012 by DDD (see edit history) Link to comment Share on other sites More sharing options...
Aswin C. Posted August 22, 2012 Share Posted August 22, 2012 yes, its a bug in prestashop. read this: http://www.prestashop.com/forums/topic/176681-slow-blockcategoriestpl/ Link to comment Share on other sites More sharing options...
bellini13 Posted August 22, 2012 Share Posted August 22, 2012 Aswin, you have documented in that other thread your solution. Is that the final solution? Have you made any other changes? http://www.prestashop.com/forums/index.php?/topic/176681-slow-blockcategoriestpl/page__view__findpost__p__870092 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now