S
S
Senseich2017-09-26 11:52:55
DLE
Senseich, 2017-09-26 11:52:55

How to fix PageSpeed ​​Insights errors with scripts and css?

Help deal with PageSpeed ​​Insights errors.
I didn’t touch this issue before, but I began to check and the result showed about 23/12. And accordingly I was shocked)
I optimized the pictures and it turned out in the end, somewhere around 73/80.
But I don’t understand what to do next! Which scripts I could make asynchronous, the rest cannot be asynchronous, otherwise the layout goes, and the rest of the system. And a bunch of CSS, I don't understand what it means to optimize performance? Minify or what do you mean? If anyone understands, please take a look: https://developers.google.com/speed/pagespeed/insi...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton, 2017-09-26
@Eridani

What are blocking resources? The page is loaded from top to bottom in order.
To get to the content area, i.e. before body, you will have to read all the JS in the head section, and css, and all that extra and unoptimized crap that is there.
Why interfere with the fast loading of content? We minimize all JS, send it to the footer so that our content area loads faster. Why do we need to upload scripts right away?
If there is a reason to do the same with css, then we do it, although this is not very critical.
Now let's see what you have.
And, of course, compression, cache, etc. You are also a plus

A
Alexey Tutubalin, 2017-09-27
@Kennius

1) Change the server or optimize the site loading, your response is more than 1 second instead of the normal 20ms
2) minimize mixmovie.ru/templates/pbm-film2/style/styles.css There are a lot of services on the Internet or which the optimizer itself offers (do not forget to have a backup copy )
3) mixmovie.ru/templates/pbm-film2/style/styles.css try to move it into them
4) you need to enable not only the engine cache but also the browser cache google

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question