nickelus Posted August 20, 2013 Share Posted August 20, 2013 Hi guys, Back with another issue! Basically, my website at: www.freshfromthelabs.com takes absolute ages to load from page to page. I contacted my webhost, who checked it and provided me with this link: http://gtmetrix.com/reports/freshfromthelabs.com/W2JfA14l I then asked what I do about it and he told me I need to speak to coders/developers of prestashop and changes need to be made. I literally have no grasp of coding of any kind, so was wondering if anyone could shed light on this. Thanks!! Link to comment Share on other sites More sharing options...
vekia Posted August 20, 2013 Share Posted August 20, 2013 from the gmetrix Timeline waterfall result you can see: the problem is with receiving the data from the index file. my questions: have you got force compilation OFF ? have you got cache ON ? have you got CCC ON ? Link to comment Share on other sites More sharing options...
nickelus Posted August 20, 2013 Author Share Posted August 20, 2013 Hi Vekia! Where would I find these to check? Link to comment Share on other sites More sharing options...
nickelus Posted August 21, 2013 Author Share Posted August 21, 2013 Under 'CACHING', ''USE CACHE'' was set to the red 'X'. I then set it to the TICK (yes) and I got a warning that if I want to use ''memcached'' I need to upload the extension to my server. Under 'caching systems'' my options are: 'memcached', 'APC', Xchache and 'file-system'. Regarding force compile, it's set to TICK (yes). I dont know how to find CCC. Link to comment Share on other sites More sharing options...
vekia Posted August 21, 2013 Share Posted August 21, 2013 for test purposes please turn off cache. (if your hoster does not allow to use memcache etc. it will not work) CCC option is available below whole settings related to CACHE in the same page, you don't have it there? Link to comment Share on other sites More sharing options...
nickelus Posted August 22, 2013 Author Share Posted August 22, 2013 Under CCC settings, I have ''Smart cache for css'' set to keep css as original ''Smart cache for javascript'' set as ''keep Javscript as original'' 'Minify HTML'' set as ''Keep HTML as original'' ''Compress inline javascript in html'' set to ''Keep inline javascript in html as original'' And for ''Apache optimization'' it is set to 'X' or ''No''. Any suggestions??? Link to comment Share on other sites More sharing options...
nickelus Posted August 23, 2013 Author Share Posted August 23, 2013 Anyone got any suggestions? Link to comment Share on other sites More sharing options...
PascalVG Posted August 23, 2013 Share Posted August 23, 2013 Hi Nickelus, got your PM. Tried to reply but seems there is some network/site problem sending PM's at the moment. In short, I will hopefully soon have a deeper look at your problem. pls be patient, pascal. Link to comment Share on other sites More sharing options...
PascalVG Posted August 23, 2013 Share Posted August 23, 2013 Nickelus, very quick first question: was there any specific moment the slowness started? Did you change ANYthing (just) before that, as far as you can remember? (Added special products, cart rule or voucher, changed any setting etc. etc. For now, pascal Link to comment Share on other sites More sharing options...
vekia Posted August 23, 2013 Share Posted August 23, 2013 Any suggestions??? your performance settings looks well, may i know where you've got hosting account and what is its specification (ram, cpu etc.) + have you got any possibility to check mysql slow queries log? or access to setup the mysql settings / apache settings ? Link to comment Share on other sites More sharing options...
PascalVG Posted August 23, 2013 Share Posted August 23, 2013 Here are a few suggestions. Maybe have a quick look if any applies to you... http://stackoverflow.com/questions/10938682/how-to-reduce-server-wait-time pascal Link to comment Share on other sites More sharing options...
nickelus Posted August 23, 2013 Author Share Posted August 23, 2013 Hi guys, Pascal: I made no new changes as far as can remember. The website was always slow and it didn't really occur to me until a friend pointed it out to me. I think you still have my settings regarding my hosting account, correct? Vekia: my hosting account was provided as a package when I bought prestashop. It's with HostGator. I'm honestly terrble when It comes to issues like ''MySQL'' etc and It would be much easier if I could provide one of you with my settings and you could log in and check? Link to comment Share on other sites More sharing options...
nickelus Posted August 24, 2013 Author Share Posted August 24, 2013 Bump. I require urgent help guys, we go live in 5 days and I need this problem sorted out. Any help is appreciated! Link to comment Share on other sites More sharing options...
PascalVG Posted August 25, 2013 Share Posted August 25, 2013 Hi Nickelus, Not sure what you changed lately, but tests seem to do much better. http://gtmetrix.com/reports/freshfromthelabs.com/QyCHDt7p : Summary B Page Speed Grade: (80%) 78% B YSlow Grade: (82%) 78% Page load time: 3.67s Total page size: 347KB Total number of requests: 70 still little slow in first rendering (about 2 sec), but seems more responsive. pascal Link to comment Share on other sites More sharing options...
PascalVG Posted August 25, 2013 Share Posted August 25, 2013 If I see the site respond to first and following requests, you see that first load takes some time, but after that the (browser) cache starts to do its work. Swap between a few pages and you'll see that the second, third time are really quite ok. First time takes some time. I think the biggest culprits are the pictures you load, being too big or so. See if you can reduce their size (especially in the slider (See that the main logo is exactly the size as given, so that's good.) My 2 cents, pascal Link to comment Share on other sites More sharing options...
nickelus Posted August 25, 2013 Author Share Posted August 25, 2013 Hi Pascal, I literally didn't change a thing. The only thing I can say changed, is ONE image in the slider was changed, That's all. When you say the main logo I take it you mean the one at the top of the page? This might seem like a stupid question, but how can I figure out the size my image needs to be to fit into the Nivo Slider properly? So far It's been entirely guesswork. Some images dont fit at all, some are off centre and it basically took trial and error to get it to look right in the slider. I wonder if maybe I had the exact image dimensions needed, that it would load faster? So in your opinion, that's the only problem? Link to comment Share on other sites More sharing options...
PascalVG Posted August 25, 2013 Share Posted August 25, 2013 Hi Nickelus, Yes, Main= logo one we changed to be lonely at the top This ons seams to fix exactly, no resizing needed. Good. The other images of the slider: I expect the size to be 936x551. Don't make the logo part bigger, just add black/white to get to this size, to not increase the size of the image (too much). I saved the pics and found them quite small already, actually, so I don't expect too much of this, except that having the right size doesn't need resizing before rendering, which is good. Furthermore I don't see too much we can do. There once was a problem with cache on server, but I think this was fixed (Anyone more info about this??), but you could try to turn the caching off for a moment, to see if it has any effect (for better or worse): Advanced Parameters->Performance. My, (feel almost out of change about this problem :-( ) 2 cents, pascal Link to comment Share on other sites More sharing options...
virajrw Posted August 26, 2013 Share Posted August 26, 2013 HI Nickelus, First off I am not a Prestashop expert but I was in the same boat as your are now. However something you said caught my eye. You said that you host with Host Gator. Boy, avoid them like the plague. Blue host and Host Gator are both owned by the same company. After 7 years with Bluehost I finally made a decision to move on to GreenGeeks. Bluehost's hosting became unbearable. I installed Prestashop on my Bluehost account and my home page took about 1 minute to load. It was the same with Wordpress. About 7 or 8 live chats and calls and the response was the same. "Server being flagged" "Admin working on it" "Your account seems perfect" - I had enough! Link to comment Share on other sites More sharing options...
Dh42 Posted August 26, 2013 Share Posted August 26, 2013 You might take a look at this, it could give you some tips on how to speed your shop up http://blog.dh42.com/fastest-prestashop/ Link to comment Share on other sites More sharing options...
NewLizard Posted August 27, 2013 Share Posted August 27, 2013 Your site shows : 9.82 Sec loading time http://tools.pingdom.com/fpt/#!/b29gHy/http://www.freshfromthelabs.com Link to comment Share on other sites More sharing options...
nickelus Posted August 27, 2013 Author Share Posted August 27, 2013 Hey guys, @DH42, I'm not too knowledgeable regarding most of what was written there. I DID however take the advice of disabling un-used modules, which is about the only thing Im competent enough to do! @NewLizard, I know, it's painfully slow. I wish I could figure out a simple, jargon free way to sort this out. My hosting company insist it's got nothing to do with them. Link to comment Share on other sites More sharing options...
nickelus Posted August 27, 2013 Author Share Posted August 27, 2013 Does this help in any way?? Link to comment Share on other sites More sharing options...
PascalVG Posted August 28, 2013 Share Posted August 28, 2013 Hi Nickelus, About the settings: One clear bottleneck we see here is the first field Template Cache: force recompile. Set this to : - 'Template cache' set to choice 2: "Recompile templates if the files have been updated" (or choice 1: never recompile, but then don't forget to temporarily turn it to choice 2 or 3 whenever you change any file, to see the changes take effect. choice 2 is set and forget state :-) - you can turn on all ccc caching and apache optimization, but beware: some people on the forum sometimes noticed problems here, rendering the site actually slower, so try (test separately from template cache point above) and see if this indeed improves the things, or not. - Down below there is another field: caching this caches the database query results, speeding up things as well. See if your host supports. Many do support 'memcached', so try by turning this on and do repeated requests of the same page (like choose catalog page with many products on it) and see if the second++ time it becomes faster. Don't forget if you ever want to make combinations or add features to your products to turn those options on in this menu. This is easily forgotten and causes headaches why these options are gone on your edit-product page... Hope this helps, pascal Link to comment Share on other sites More sharing options...
Dh42 Posted August 28, 2013 Share Posted August 28, 2013 I would recommend using APC before mem cache, they are two totally different applications, but things will go faster using APC. 1 Link to comment Share on other sites More sharing options...
PascalVG Posted August 28, 2013 Share Posted August 28, 2013 Thanks DH42, didn't know that! Link to comment Share on other sites More sharing options...
Dh42 Posted August 28, 2013 Share Posted August 28, 2013 Yeah, memcache actually creates http requests back through apache so it is not as efficient as say varnish or another type of caching that uses reverse proxy. Link to comment Share on other sites More sharing options...
Recommended Posts