Free Installation
Free 1-Year Support
Free Update
30-Day Money Back

Defer JavaScript for Magento 2

Magento 2 Defer JavaScript Extension by BSSCommerce improves Magento store performance by automatically deferring your JavaScript loading. Effectively reduce loading time and engage more customers to enhance sales amount.
  • Instantly and automatically defer parsing of Javascript
  • Defer Javascript till the last moment
  • Defer Iframes loading effectively
  • Magically improve pagespeed score!
Community: 2.0.x - 2.1.x - 2.2
      |      Enterprise: 2.0.x - 2.1.x - 2.2

* Required Fields

$75.00 $50.00

Magento 2 Defer JavaScript Extension by BSSCommerce automatically puts JavaScript files to the end of the page after loading all HTML and CSS.

We also provide Magento 2 Lazy Load Extension that can allow Magento sites to load images as scrolls to reduce loading time: Check it out HERE! 

Key Features of Defer JavaScript for Magento 2

Magento 2 Defer JavaScript Extension by BSSCommerce will never disappoint you with special features: 

  • Powerfully defer parsing of JavaScript for Magento 2 websites

magento 2 defer javascript extension - page speed after installing

Oftentimes, JavaScript (JS) is in between <head></head> and <body></body>. Moreover, a website is loaded from top to bottom. If you have a lot of JavaScript code or a long string of code there, it takes very long before the web content appears because it needs to wait until all JavaScript codes are finished.

magento 2 defer javascript extension - page speed before installing

The extension powerfully optimizes customers’ experience by deferring the parsing of JavaScript until it is needed on your Magento 2 based website. It reduces the number of bytes required to speed up the content of the page to load the initial state of the page. Moreover, it permits remaining bytes to be loaded asynchronously in the background.

  • Defer Iframes loading effectively

Defer Iframes loading means that the browser will finish loading you website before loading Iframes of other sites that are embed on your webpage. The reason is that when these sites are embed on your site, the browser will load JavaScript files of these pages, which can slow down your webpage. 

  • Easily configure from admin panel

With a few clicks, you can get this extension work on your online store for better speed performance. Just as easy like a piece of cake, you can optimize your Magento 2 webpage speed within half a second by only a few clicks. The easy and familiar features with Magento basis save your effort and time to get used to with it.

magento 2 defer javascript extension

  • Cleverly developed on the Magento 2 Platform

The Magento 2 Defer JavaScript by BSSCommerce possesses all excellent features from the Magento 1 version. After thorough tests by BSSCommerce Certified Developers, the extension takes pride not to conflict with any existing functions on the Magento 2 Platform. The extension is especially well compatible with Magento version 2.x.

Why is Magento 2 Defer JavaScript Extension by BSSCommerce your must-have extension?

40% of people abandon a website that takes more than 3 seconds to load. A tick of delay can cost you a potential customer. Forever!

You understand the importance of website loading time, but your Magento 2 web-based cannot meet your requirement.Defer Parsing JavaScript for Magento 2 deserves for being an essential part of your Magento 2 site.

Magento 2 Defer JavaScript by BSSCommerce, inheriting from the outstanding features of Defer JavaScript for Magento version 1, now is totally developed on the Magento 2 platform. The extension especially expresses its brilliant features on the Magento version 2.0.

  • Dramatically improve your Magento site performance

The fact that scripts must be downloaded, parsed, and executed before the browser can begin to render a web page causes much time-delay on loading the main page. In the world of online e-commerce, inefficiency costs money. Even one second delay in your site response time can turn a target customer to a loyal customer or let them simply leave your site to the competitor’s site. Slow loading time, caused by JavaScript can be one of the fastest ruin of a possible sale. This is how BSS defer Javascripts can make change to your site (result generated by GTmetrix)

BSS Defer JavaScript for Magento 2 is developed to solve out this issue. It allows optimizing your Magento store performance quickly and easily.

  • Defer JavaScript until the last moment

With Magento 2 Defer Javascript by BSSCommerce, the other HTML files and CSS will be loaded first then parsing of JavaScript files is implemented right after that. It just merely rearranges the order of loading process so that JavaScript is deferred until the last possible moment. This seems to cause no effect on the performance of your web page, but the outcome of this process is that your page appears much quicker, and the customer can satisfy with your site speed more than other competitors.


  • Great Service - Great Module
    Great module, works as advertised. No conflicts! It help my site load faster than ever. Thanks for a great extension!

    Highly recommend to install for all Magento 2 sites!
    verified buyer
    Reviewed by Alvin D. Carroll on 18 July 2017
  • Very useful for me!
    This is nice and very helpful extension for me. I easily installed it and speed up my website quickly.

    Highly recommend to install for Magento 2 websites!
    verified buyer
    Reviewed by Elliot Aardema on 12 July 2017
  • Worth for money
    Your extension is nice and effecive. Although Magento support required Js but I think it is not enough. My website still run slow. Therefore, I choose your Defer JavaScript to improve it. And the result is so great. It is running smooth and faster than before.

    Highly recommend to Magento 2 sites to use!
    verified buyer
    Reviewed by Giraldo Zito on 30 May 2017
  • Plug 'n Play
    This is really Plug 'n Play solution to make the JS deferral in a glimpse of an eye.
    Installed under M2 2.1.1 and works as advertised! Thanks!
    verified buyer
    Reviewed by Viktor Z. on 30 September 2016
  • Super useful
    From 0/100 in Gmetrix, my site load was 100/100 after installing Defer JavaScript. For $50, this extension is beyond expectation.
    verified buyer
    Reviewed by Alex Weber on 30 June 2016
  • Worth a try!
    It is exactly the answer for my trouble. Now my site has been improved and attract more customers. I am really pleased with it.
    verified buyer
    Reviewed by Maria on 24 March 2016
  • Highly appreciate!
    A really wonderful extension I can find. Highly appreciate. Keep moving forward!
    verified buyer
    Reviewed by Oscar on 22 March 2016
  • Good service!
    I love the way you support me. Very enthusiastic and professional!
    verified buyer
    Reviewed by Susan on 16 March 2016
  • You rock!
    It is incredible! The effect is beyond my expectation! You have really done a great job!
    verified buyer
    Reviewed by Oliver on 15 March 2016
  • Compliments to the developers!
    My site has speeded up a lot. Your extension worked absolutely well.
    verified buyer
    Reviewed by Neil on 09 March 2016
Write a Review
You're reviewing: Defer JavaScript for Magento 2
How do you rate this product? *

Release Note

  • v1.0.0: First Release
  • v2.0.2: Defer Iframe
  • 3 Item(s)

    per page
    Jeordy Bouck:
    Dear sir/madam, Does the extension accept the minify and combine setting in Magento? Or will it just put out all scripts indivdually? Kind regards, Jeordy Bouck
    Posted On: August 10, 2017
    Hi Jeordy Bouck, Thank you for your interest in our product, Regarding to your query, our Defer JavaScript for Magento 2 extension works properly with the minify and combine setting in Magento. Besides, when purchasing our extension, we would like to offer free installation service for you. If you have any further question, please let us know. For prompt support, please contact us at or Skype: support.bsscommerce Regards, Support Team.
    Answer On: September 23, 2017
    Chris Walker:
    I see that you can exclude certain controllers and pages from deferring, but can you exclude certain script files from being deferred or does anything that have a script tag go to the bottom?
    Posted On: June 21, 2017
    Thanks for your interest in our product, About your queries, besides exclude controllers and pages from deferring, you could exclude a certain javascript on your site as our guide below: - Add attribute nodefer after <script for prevent defer. - Example: From: <script type="text/javascript">...</script> To: <script nodefer type="text/javascript">...</script> If you have any further queries, please feel free to contact us. Have a nice day!
    Answer On: August 01, 2017
    Luis Maldonado:
    If i want to implement it with a custom template that i have now, does the javascript files need to NOT be bundled?. Will it work with custom template?
    Posted On: May 27, 2017
    Hi Luis, Thanks for your interest in our product. About your query whether the javascript files need to not be bundled, would you like to bundle all javascript fildes into one file only? In fact, as long as a script has tag <script>, it will be deferred automatically when our module is enable. Besides, we would like to offer free installation and money back guarantee as our Terms and Condition: If you have any further queries, please feel free to contact us. We’d be happy to help.
    Answer On: May 30, 2017