Logo
Sign in
Product Logo
Magento 2 Defer JavaScript | Rocket JavaScriptMagefan

Move unnecessary JavaScript to the bottom of the page to speed up page loading. Choose what scripts to defer.

Vendor

Vendor

Magefan

Company Website

Company Website

magento-javascript-extension.webp
magento-disallow-pages-from-deferred-javascript.webp
enable-javascript-bundling-magento.webp
exclude-scripts-from-deferred-javascript.webp
Product details

Magento 2 Rocket JavaScript is a solution that allows you to defer JavaScript loading and speed up page rendering. It moves all JS code to the bottom of the page automatically (before tag end). This speeds up page load and increases page speed score. Optimize the JS bundle, minimize its size and reduce loading and execution time. Deliver your pages faster for the utmost customer experience.

  • Define JavaScripts that need to be deferred
  • Exclude certain JS from deffering
  • Specify pages where JS shouldn’t deferred
  • Enable JavaScript bundling optimization

Don’t Let JS Slow Down Your Store

A lot of things load in the background when customers visit your website. JavaScript included. But not all JS is vital so it only delays the loading and increases the execution time. Magento 2 Rocket JavaScript Extension fixes that. Defer JS loading by moving all unnecessary JS to the bottom. Reduce the initial loading time and deliver your pages to customers faster!

Make Sure to Load Important JavaScript

When you defer the JavaScript loading you speed up a page rendering and define what JS to load later. However, it doesn’t work for all pages. You might not want to defer JavaScript on the homepage or other CMS pages. Exclude pages from the deferred JavaScript loading with the Magento 2 JavaScript Extension. Make sure you load all vital JS and delay the loading of others.

Disable Deferred JS for Some Scripts

You should never rush to defer all JavaScript on your store since some of them might be initiated by an event, like GTM. Keep all critical scripts at the top of the page using the Magento 2 Deferred JavaScript. Just specify the JS strings to ignore and the extension will automatically add the data-rocketjavascript="false" attribute to all of them.

Enjoy Straightforward Setup

JavaScript configuration in Magento is never easy. It requires a lot of time and certain skills. But not with our JS extension for Magento. All you need is just define the JavaScripts you’d like to defer on all pages of your website, and specify what pages to exclude. We also provide a script that allows you to compile a list of used JavaScripts. So you know what to optimize with the deferred loading.

Find more products by category
Sales SoftwareDevelopment SoftwareView all