Jump to content

Delete render blocking javascript and css


Marks407

Recommended Posts

Hello friends.

I was checking my score on google page speed and i got 1 recomendation that is "Delete render blocking javascript and css"

I searched everywhere and found some lines of code to add or change, but i cant find the file i have to change.

Could someone that knows how to do it help me?

 

Best regards

Nuno Gonçalves

Link to comment
Share on other sites

Hi,

 

First of all its not delete render blocking..... it's eliminate.

There is no quick fix for this.

 

Basically what Google recommend is to eliminate to call (usage) of CSS & JS that are not important for the above the fold area (The part the user see before he need to scroll).

So the user will get your page as fast as possible.

After he get the above the fold (scroll) part you can still load CSS & JS.

 

In order for you to fix it (Its almost impossible to get it 100%), you need to examine each css file & js file (and inline functions) and to check if its related to the above the fold area or you can load it in the end of the body.

 

Its not easy, I recommend you focus on fixing the rest of Google recommendations and leave this recommendation.

 

Good luck 

Link to comment
Share on other sites

  • 6 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...