jeudi 2 septembre 2021

Website with mobile LCP problem for Javascript code not used

My website has different pages composed of text and photos and some with embedded videos from youtube.

The PageSpeed Insights from Google Search Console shows me a mobile LCP issue that affects almost every page on the web and suggests to me: Reduce the JavaScript content that is not used

I have tried the solutions proposed by PageSpeed Insights itself, with React.Lazy() and loadable-components, to delay the loading of this code and try to cut the amount of code that is brought so as not to catch inutile code, but I can not make it work.

Has anyone faced this same problem?




Aucun commentaire:

Enregistrer un commentaire