Magento Expert Forum - Improve your Magento experience

Results 1 to 2 of 2

The easy guide to speed up Magento 2 websites by deferring JavaScript

  1. #1
    Junior Member
    Join Date
    Nov 2015
    Posts
    629
    Thanks
    6
    Thanked 33 Times in 33 Posts

    Default The easy guide to speed up Magento 2 websites by deferring JavaScript

    One of the fastest and simplest way to reduce loading time and speed up Magento 2 sites is deferring JavaScript loading without manual code changes.

    As you know, the browser will process a page in an order by loading HTML, CSS and JavaScript from the beginning to the bottom. However, JavaScript often causes Magento sites perform more slowly and lead to higher abandonment. Therefore, using Defer JavaScript for Magento 2 is an ideal solution to speed up websites effectively.

    - Defer parsing of JavaScript till the last moment when HTML and CSS loading is finished

    + After installing Defer JavaScript:

    Name:  Magento_2_defer_JavaScript_-_after_installing.PNG
Views: 18
Size:  13.3 KB

    - Defer Iframes effectively also

    - Help to improve ranking on SERP

    Check it out for FREE Installation - FREE 1-year Support and FREE Updates!

    View more threads in the same category:


  2. #2
    Junior Member James's Avatar
    Join Date
    Jan 2016
    Posts
    663
    Thanks
    2
    Thanked 13 Times in 12 Posts

    Default

    To defer parsing of JavaScript for Magento 1 websites, you can also use Defer JavaScript extension to speed up effectively and improve user experience.

    It operates like Magento 2 version, even it is more effective because Magento 1 does not support required JS like Magento 2

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •