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+
    Visible Branding:
    Defer JS - for optimization
    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
    saikokato, nablo, Dianox and 27 others like this.

Recent Reviews

  1. bobisback
    Version: 2.2.4
    Thank you very much.