Answer the question
In order to leave comments, you need to log in
Why is Google's PageSpeed Insights not telling the truth?
I'm trying to speed up the loading of a site with a huge number of scripts and styles. I solved this by writing a plugin that collects all the scripts into one, and the styles also into one file. Everything is working.
However, PageSpeed Insights tells me that my js file is blocking the loading of resources, although it is right before </body >
.
Where should this script be placed so that it does not swear?
Here is a link to PageSpeed Insights
Answer the question
In order to leave comments, you need to log in
For example, here is the result of 100 points out of 100 possible - https://developers.google.com/speed/pagespeed/insi...
put the async attribute on the script. And you still have a block there after the script, maybe that's why it swears.
For comparison, the resource on which the task was solved in a similar way
pagespeed
Weird. At me now everything looks like this:
Temporary glitch? Or did you end up changing something else today?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question