Marks407 Posted January 6, 2017 Share Posted January 6, 2017 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 More sharing options...
yaniv14 Posted January 7, 2017 Share Posted January 7, 2017 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 More sharing options...
El Patron Posted April 24, 2023 Share Posted April 24, 2023 I know old post but now there is solution We wrote two modules for our inhouse 'demanding' clients and have made them available to PrestaShop community. cssPro removes .css render blocking: https://prestaheroes.com/collections/performance/products/csspro-eliminate-render-block-css JavaPro removes .js render blocking Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now