Hi all,
I've been handed a website to look at which has major speed issues, but seemingly only on the home page.
(I'd like to stress that I have not developed this site personally, I've been handed it by a customer who's p*ssed off with the designer who did create it!)
I've spent some time looking at this; I initially assumed the problems were down to a) a HUGE .js file (1.2MB, 27,000 lines of code) and/or b) A Facebook plugin
I don't think it's the .js file, as other pages load the same file and those other pages load quickly enough.
I took out the FB code and that made no difference either, so I put that back in.
Can anyone see what might be the matter here, please?
http://www.candfwarehouse.co.uk/
Thanks, and Merry Christmas!
Willo
The time to first byte response is very slow (almost 40 seconds) which suggest that it's something server side rather than js or css rendering. If you try the site on your dev machine is it still really slow? If so, maybe try debugging through or using a profiler (I like the Magneto Debug toolbar). This will probably give you a better idea where the bottleneck is.
Hi Richard,
Thanks for your reply. I will give the profiler a go.
This site doesn't have a development site at the moment - the live site is all there is. As I said, I've just been handed it to look into the problems, and I haven't set up a development site yet. That's the next job.
However, it only seems to be the home page which is affected. Surely if it was a server problem then the other pages would be slow to load too?
Thanks also for the pointer about the Debug too, I'll have a look into that.
Cheers,
Willo
Yes, my thinking was that it's probably something that is on the homepage that is affecting the initial controller call. The Magneto Debug extension is probably your best bet in trying to track the problem down as it gives you loads of info on what's actually happening behind the scenes. While it's a pretty old extension itself it does work nicely with recent versions of Magento 1 (I use it on CE and EE sites) https://github.com/madalinoprea/magneto-debug
Try our Magento Defer JS Extension which will speed up your site by deferring loading and parsing JavaScript and give space for loading your site content first.
https://www.magentocommerce.com/magento-connect/defer-javascript.html
Or you can try some solutions we mentioned on the following links:
http://bsscommerce.com/blog/magento-optimize-site-speed-gtmetrix/
http://bsscommerce.com/blog/magento-ecommerce-10-simple-tips-to-speeds-magento-site-part-1/
http://bsscommerce.com/blog/inforgraphic-how-to-solve-magento-website-speed-problems/
Just my 2 cents. This does look like more of a server loading issue. i would double check settings before you start to play with the CSS and JS.
Also please make sure you are keeping your site up to date with those security patches. Go to www.magereport.com to test your site.
My website was having issues with its speed and I was unable to get a hold of the issues. The website was taking longer than expected to show the contents of my website. Website speedy tools optimized the problems and improve my website loading page speed score to 73 and desktop score to 94.
You can get the tool here:- https://websitespeedy.com/