When customers visit your website pages there are a lot of things loading in the background, javascript included. Not all JS is vital so it only delays the loading and increases the execution time. That’s why you need Magento 2 Rocket JavaScript Extension to defer JS loading and move all unnecessary JS to the bottom.
It reduces the initial loading time and delivers a web page to customers faster!
Deferring JavaScript not only influences how fast your website renders, but what JS should be loaded later to reduce the loading time. However, it works not for all pages. You might not want to defer JS on the homepage or other CMS pages. This JavaScript Extension for Magento 2 enables you to exclude pages from the deferred parsing of JavaScript.
Since there are scripts that are initiated upon some event, like GTM, you shouldn’t rush to defer all JavaScript on your store. Our Rocket Javascript Extension ensures all critical scripts are kept at the top of the page.
Just specify the JS strings to ignore and the extension will automatically add the data-rocketjavascript="false" attribute to all of them.
Although configuring something like JS in Magento requires plenty of time and a lot of configuration, our Rocket JavaScript module is pretty straightforward. All you need is just specify the JavaScript you’d like to defer on all pages of your website, and what pages to exclude from the defer parsing.
We also provide a script that allows you to compile a list of used JS, so you know what to optimize with the deferred loading.
This is a very good and error-free extension. We have integrated it into our system and are very satisfied. The team at Magefan is very professional and can help immediately if need be. Thanky for this fine plugin
Can I install your Magento 2 Rocket JavaScript module via the composer?
Yes, you can. All our modules can be installed via the composer. Once you purchase the extension, you receive keys to the private Magefan composer repository and find the composer installation commands available in the "My Downloads" section.