Hello Friends,
I am facing slow speed issue with Magento2 on geckoshirts.com. I am using full page caching.
First time page load time is near 1min
Can any one help me?
Thanks in Advance.
Hi @ajaythakur
I tried with the url provided by you. it took 15 seconds for me.
Please check once more and try to load the site using some tool like gtmetrix and you may find some points to be worked on.
You have visited cached version of the website. Whenever it loads for first time it takes too much time.
You can try filter on sub categories under
http://geckoshirts.com/categories.html
Then may be you will face this issue.
On local server it shows following error:-
( ! ) Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/dv/a/a/4demo/gecko-new/vendor/oyejorge/less.php/lib/Less/Tree/Quoted.php on line 24
Main concern is execution time, why it took 30 seconds?
In 30 seconds it reached only less section, which is really shocking for me.
you have probably default cpanel server installation,
check your webstack config
also you need to install or enable built in profiler
Hi ajaythakur,
gtmetrix can be too technical for some people, you can check here: https://www.webpagetest.org/result/160923_RR_KDG/1/details/#waterfall_view_step1
your first byte time is 40s on first load but when i ran the same test second time, i get normal first byte time:
https://www.webpagetest.org/result/160923_EJ_KP0/
I remember we were having the same issue with earlier releases of Magento 2 - cache was generated every time you visit a page and kept only for the duration of your visit. We do not see this problem with Magento 2.1 and I checked with our admins, we did not do anything differently on the server.
So, check which version of Magento you are using, try to upgrade a development copy to 2.1.1 to see if this will fix the issue.
If an upgrade is not possible or you are already using 2.1.1, I would hire server optimization guys like www.magenx.com but before you do so, check if they resolved the same problem before.
hope this helps.
Have you verified you are in production mode and not developer mode? Have you tried running latest 2.1.1 version? If in production mode, you need to deploy static assets so they appear.
The one minute delay sounds like static file creation time.
Hello MagenX,
Thanks for your response.
I will try with enable built in profiler. Currently i am running cron job which will open all url's in morning and then cached version of page will be served.
Cached pages loading faster as compared to the same.
I have setup Magento 1.9.4 on my local server, fetched configurable products with custom query and it took 2 secs and loaded same page with Magento's default query then it took 126 sec.
It means that displaying Configurable products on Category listing page takes too much time with default queries of Magento.
Here I have added 25000 products with 300configurable products.
You can test it here, results will be displayed without caching:-
First Open and let it complete loading and go to bottom of page, I have shown number of seconds taken by this page
http://magento.4demo.biz/women/new-arrivals.html?custom=1
Then you can check http://magento.4demo.biz/women/new-arrivals.html?___SID=U&limit=12
let it complete loading and go to bottom of page
Thanks & Regards,
Ajay Kumar
Hello Anton,
You are right it is taking around 25-40seconds.
We are using Magento 2.0.4.
We will upgrade soon, but i tried to install latest version. Faced some css issue, so will upgrade on 2.1 soon.
Thanks & Regards,
Ajay Kumar
Hello Rob,
We are running website in production mode.
Usually it takes time in merge functions of less.
Thanks & Regards,
Ajay Kumar
Hello There,
Have found article that explains how to boost magento website speed, I think it can help you in solving your issue too.
http://www.thebestwebhost.co.uk/how-boost-magento-store-website-security/