cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 Rocket JavaScript / Deferred JavaScript

Magento 2 Rocket JavaScript / Deferred JavaScript

One of the reasons it take long for your website to load is the jS code. Magento 2 Rocket JavaScript allows you to enable deferred JavaScript loading on your website.

 

According to that JS is moved to the end of the page automatically which reduces the JS size and increased the page load speed.

 

 Benefits: 

  • Improved Website Performance
  • Better Customer Engagement
1 REPLY 1

Re: Magento 2 Rocket JavaScript / Deferred JavaScript

As improved site speed is considered as one of the ranking factors, use Meetanshi's Magento 2 Defer Parsing of JavaScript to defer the JavaScript to optimize the load time and improve the user experience. 

The pro version of the extension allows excluding home page, controllers and Magento store paths from defering javascript.

---
If you've found my answer useful, please give"Kudos" and "Accept as Solution"