Site very slow. How to defer parsing of javascript ?
Eliminate render-blocking javascript in above-the-fold content with async javascript. The extension powerfully optimizes customers' experience by deferring the parsing of javascript until it is needed on your magento 2 based website. I have covered async attribute or inline javascript in another blog post, read that article here in that article, I have also mentioned a few useful wordpress plugins to defer parsing javascript. If, in moving from top to bottom, it finds any javascript, it will stop rendering the rest of the page until it can fetch and parse the javascript file. This is how to defer parsing of javascript. For your information I just had a problem with the 4. Defer javascript via file”. To get started, you can install and activate the free plugin from then, go to settings → async javascript to configure the plugin. It matters because google is judging page speed as a ranking factor and because users want fast loading pages. This way deferred loading of javascript does ...