Close

PageSpeed insights nopCommerce render blocking JavaScript - fonts problem

Forlis
5 years ago
#15751 Quote
Avatar
  • 1
Hi,

I have a test website on this URL http://svetpohybu.eurosoftworks.com/krouzky and when I test the website load (page) speed performance, I got +- 28 score on Mobile for every page because of Render blocking JavaScript (especially fonts).

This is the report: https://developers.google.com/speed/pagespeed/insights/?hl=sk&url=http%3A%2F%2Fsvetpohybu.eurosoftworks.com%2Fkrouzky&tab=mobile

Other things like image compression, minify etc. is good, but my questin is: How to fix this render blocking JavaScript (fonts) in nopCommerce?

Thanks for answear :)
Valentin
5 years ago
#15764 Quote
Avatar
  • 172
Forlis wrote:
Hi,

I have a test website on this URL http://svetpohybu.eurosoftworks.com/krouzky and when I test the website load (page) speed performance, I got +- 28 score on Mobile for every page because of Render blocking JavaScript (especially fonts).

This is the report: https://developers.google.com/speed/pagespeed/insights/?hl=sk&url=http%3A%2F%2Fsvetpohybu.eurosoftworks.com%2Fkrouzky&tab=mobile

Other things like image compression, minify etc. is good, but my questin is: How to fix this render blocking JavaScript (fonts) in nopCommerce?

Thanks for answear :)



Hello Forlis,

here you can read in details about the issue - link to Google article.

However, whether you should implement this or not is entirely up to you since the approach they are recommending requires all of the font style files to be icluded inline in the HTML. It basically deems all the linked fonts (from their own site) - "blocking content".

Hope this was helpful.
Best Regards,

Valentin Kirov
Nop-Templates.com