1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Registration Email Allowed In Our Database :  Yahoo * Gmail * Hotmail * Outlook * yandex * live * are allowed to register in our database. [ We Will Approve Manually After Review It ]

Add-on Defer JS 2.2.4

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

  1. SM€GGLE
    Compatible XF Versions:
    • 1.4
    • 1.5
    Additional Requirements:
    PHP 5.4+

    A PHP 5.3 version is available in the FAQ.
    License:
    MIT
    Visible Branding:
    No
    This add-on collects javascripts 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 jrahmy/DeferJs · GitHub

Recent Updates

  1. Defer JS