Welcome to Our Community

Registration on our forums are now open for some days! Feel free to sign up today.

Defer JS 2.2.4

Moves XenForo javascripts to before the </body> tag for performance

  1. XenForo Rocks
    Compatible XF Versions:
    • 1.3
    • 1.4
    Additional Requirements:
    PHP 5.4+
    License:
    MIT
    Visible Branding:
    No
    lMHt7rk.png
    Defer JS - for optimization
    2.2.1a​
    About:
    This add-on collects javascript in post-view output and moves them to the bottom of the page. This has a noticeable impact on page-load times as pending HTTP requests postpone rendering of a page while scripts aren't run anyways until everything is loaded.

    This add-on requires PHP 5.4+!
    Trying to install it on earlier versions will break your forum.


    Much of the heavy lifting was derived (with permission) from @Luke Foreman's XFOptimise add-on, which is no longer maintained.

    This add-on is open-source under the MIT license and the source may be found at https://github.com/jrahmy/DeferJs

Recent Reviews

  1. bobisback
    bobisback
    5/5,
    Version: 2.2.4
    Thank you very much.
  • About Us

    Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.
  • Like us on Facebook

  • Buy us a beer!

    The management works very hard to make sure the community is running the best software, best designs, and all the other bells and whistles. Care to buy us a beer? We'd really appreciate it!

    Donate to us!