cancel
Showing results for 
Search instead for 
Did you mean: 

product page on M2 so slow - any suggestions?

Highlighted

product page on M2 so slow - any suggestions?

Hi,

 

We have just moved to from M1 to M2 (v.2.3.2).

 

Our product pages are loading so slow after we have moved to M2. 

 

How can we make the product page load faster?

How can we get rid of the loading spinning .gif in the gallery?

 

Ex.

https://www.babygear.dk/ammepude-candide-easy-pillow.html

 

Any suggestions how to make the product pages as fast as the category pages? 

 

Jesper 

 

9 REPLIES 9
Highlighted

Re: product page on M2 so slow - any suggestions?

Hi Jesper,

 

If you check details here:

 

https://www.webpagetest.org/result/190905_AE_6937c9584a8f8d53b440a4ea8f182610/1/details/#waterfall_v...

 

your first-byte time is high - you want to keep it under 0.5 seconds. For this, the simplest thing you can try is to make sure you are on PHP 7.2 before you optimize anything else.

also, switching to HTTP/2 with ALPN support will decrease the total page loading time because you will have the simultaneous download of multiple files.  

 

after that, you can address the issues reported by Google here:
https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.babygear.dk%2Fammepude...

both mobile and desktop scores are way too low right now but going with new PHP and using HTTP/2 will improve it and you will see what else to do.

Anton Pachkine @ magento2.hosting : Magento Small Business Package.
Highlighted

Re: product page on M2 so slow - any suggestions?

Hi, 

Thank you for you reply.

 

1)  Yes, we are running on a php 7.2 stack.

2) Yes,  HTTP/2 with ALPN support is setup (see: https://http2.pro/check?url=https%3A//www.babygear.dk/ )

 

Highlighted

Re: product page on M2 so slow - any suggestions?

Hey Jesper,

 

When I tested that page speed 9 hours ago, the total loading time was 7.8s:
https://www.webpagetest.org/result/190905_AE_6937c9584a8f8d53b440a4ea8f182610/1/details/#waterfall_v...

I just tested now and it's 4.8s which is not that bad for Magento 
https://www.webpagetest.org/result/190905_6Z_f36722d1ad0dc7b6268be7f06e627d1b/1/details/#waterfall_v...

i guess you may have much less traffic because it's night in Denmark now.

 

This is not 100% proof of an overloaded system but something to consider.

Do you monitor the server load, CPU and memory usage during the day?

Maybe you just need to upgrade your current hosting configuration?

Are you on a single server or multi-server setup?

 

Anton Pachkine @ magento2.hosting : Magento Small Business Package.
Highlighted

Re: product page on M2 so slow - any suggestions?

What type of caching are you using? You can learn more about recommended M2 caching options at https://variux.com/magento-2-caching-technology/

 

Best of luck!

Highlighted

Re: product page on M2 so slow - any suggestions?

Hello

There are lot of reasons why M2 can be slow for you.

Some of them are below

1. Hosting - It is recommanded that you use proper hosting. I would advise you to use the good and Magento optimized server like Nexcess or Fastcomet Cloud Servers

2. Check You have enabled production mode.

3. https://github.com/xumulus/magento2-fast-product-images This can load the images bit faster by removing the loading icons.

4. Test your website in different tools like gtmetrix, pingdom and with developer debug tool.

5. Try disabling all the third party extensions and check the speed once.

Found something useful, "Kudos" and "Accept as Solution" for Token of Appreciation.

Magento Tutorials
Highlighted

Re: product page on M2 so slow - any suggestions?

You might want to profile TTFB to see what's causing the slowness.

 

Or

 

Simply disable 3rd-party extensions one by one to spot an abuser. In 99% cases it's a poorly coded plugin.

Highlighted

Re: product page on M2 so slow - any suggestions?

hello,

 

please what solution you have made i see your site is fast

 

best rgards

Highlighted

Re: product page on M2 so slow - any suggestions?

Hi,

I'm seeing that you page is fast now too. Please share solutions. Thanks 

Highlighted

Re: product page on M2 so slow - any suggestions?

While looking for a solution to the annoying page spinner I came across this article:


https://xumulus.com/kill-the-loader-how-to-improve-your-magento-2-product-page-load-time/


....which also discusses the reasons behind the slow page load.


The Xumulus solution seems the way to go - but maybe there are other solutions out there?