Go Dark Go Light
2 years or 731 days of full-scale russian invasion of Ukraine

Magento 2 Rocket JavaScript / Deferred JavaScript

This extension allows you to enable deferred JavaScript loading at Magento 2 store. All JS code automatically moved to the bottom of the page (before <body> tag end). This speeds up page load and increases page speed score.

Also, it optimizes the JS bundle, minimizes its size and reduces loading and execution time.

  • Define JavaScripts that need to be deferred
  • Exclude certain JS from deffering
  • Specify pages where JS shouldn’t deferred
  • Enable JavaScript bundling optimization
Special Price FREE Regular Price $99
one-time payment
Download Now Free Trial
FREE version available
class="_fancybox-image"
Live Demo
Compatibility:Magento 2.3.0 - 2.4.7 (CE, EE, ECE, B2B)
Version:2.1.9
 

Defer JS Loading

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!

Defer JS Loading in Magento 2
Exclude Pages from Deffering JS Magento

Exclude Pages from JS Deferring

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.

 

Ignore Certain Scripts

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.

Ignore JS from deffering Magento
Magento Rocket Javascript Extension

Easy setup

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.

FAQ

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.

People Also Searched For
  • magento 2 speed optimization extension
  • magento 2 speed
  • magento page speed
  • magento javascript
  • magento 2 speed optimization
  • magento js
  • magento 2 javascript
  • magento 2 defer js
  • optimize magento speed
  • magento 2 defer javascript
  • magento 2 js
  • defer js magento 2
  • magento defer javascript
  • magento 2 speed optimization extension free
  • javascript magento 2
  • magento speed up extension
  • javascript magento
  • magento2 javascript
  • javascript in magento 2
  • pagespeed magento 2
  • magento extension to speed up site
Related Products
Magento 2 WebP Images
WebP Images
$159
one-time payment
(49)
Magento 2 Zero Downtime Deployment
Zero Downtime Deployment
$169
one-time payment
(12)
Magento 2 Image Lazy Load
Image Lazy Load
Special Price FREE Regular Price $79
one-time payment
(17)
Custom Magento Development
Custom Magento Development
$89
one-time payment
(24)
Magento 2 Conflict Detector
Conflict Detector
Special Price FREE Regular Price $79
one-time payment
(7)
Magento 2 Command Line Interface
Command Line Interface
Special Price FREE Regular Price $79
one-time payment
(17)
 
What our
clients say

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

By
Gor DMD Media
Brands Who Trust Us
Magento 2 Rocket JavaScript
Live Demo
^Top