0

I had bad result on Google Pagespeed Insight on small Magento Websites, using default theme and modifying only little stuff, plus adding static content to homepages.

And Pagespeed Insight rating are bad, more on mobile.

So I installed an empty 2.2.8 shop (no categorie, no product) to try to find out what I was doing wrong.

I tested with GTMetrix and get an A (99%) on PageSpeed (so I guess it's not a configuration problem)

JS and CSS are minified, even HTML. I even installed a Varnish to be sure !

But PageSpeed Insight ratings are as bad as with modified Luma. (around 38-40)

https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Ftestmg2.g-softs.net%2F (the link might not be valid in time, it's just a test website)

So does anyone knows why default template got so bad ratings ?

Is there a way to improve it easily (I'm more of a backend than a frontend dev) ?

Do you know an ultra basic templates with good PageSpeed ratings ?

Thanks in advance !

JM

Edit : I just tried with a Magento 2.3.1. Same results.

0

There isn't a single answer to this question. Take a look at this git issue. Makes for an interesting read. I'm sure there are other git issues. But I found this one.

https://github.com/magento/magento2/issues/20974

Other than that how to improve scores there are suggestions on here

https://magento.stackexchange.com/a/273133/70343

More for improving general speed. But will improve score.

But some of it cant be fixed even with extension and better theme. In summary it's how magento works in terms of loading assets.

I think that's part of the reason they are focusing towards a PWA theme. Which is something different entirely.

  • Hi Dominic, thanks for your answer. I think I've checked all the points on the list from the stackexchange link you give (or at least all I can do in setting a temporary Magento). But again this is the default store without any categories, products or 3rd party stuff. There is obviously a problem with the CSS part, but what I notice is the around 20s off Time to interactive I have, and I think it have a lot to do with it. – Jean-Marc SALIS May 27 at 11:12
  • Found this too. More of the same really community.magento.com/t5/Magento-2-x-Hosting-Performance/… bottom line you can only get so far with this framework – Dominic Xigen May 27 at 22:23
  • Thanks again Dominic. But this links is from before July 2018 when Google changed their PageSpeed Insights methods, resulting of the fall of the mobile results. Before that, all tests were green ! – Jean-Marc SALIS May 28 at 10:32
  • Yikes you're not kidding. From that community post developers.google.com/speed/pagespeed/insights/… dropped to [M] 32/100 [D] 59/100. Originally was [M] 72/100 [D] 83/100. There is this amasty.com/google-page-speed-optimizer-for-magento-2.html extension but really can't see how you can overcome some of these highlighted issues. Especially Eliminate render-blocking resources. That is basically how requirejs works. Wait here whilst I fetch what you need. – Dominic Xigen May 28 at 11:31
0

ignore these, google pagespeed tester shows some crap for long time.

we usually run tester either:

1 - looking at netowrk panel in Chrome browser.

you can trust only yourself.

2 - from our own servers.

simulating user request with some high load.

3 - https://www.webpagetest.org/

run some basic test, just to see those fancy metrics from specific region :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.