• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Defer JS

[Free Add-on ] Defer JS 2.2.4

No permission to download
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 GitHub - jrahmy/DeferJs: Moves XenForo javascripts to before the </body> tag for performance
Author
XenForo Rocks
Downloads
56
First release
Last update
Rating
5.00 star(s) 1 ratings

Latest updates

  1. Defer JS 2.2.4 : Fix for loading attachments into memory

    This fixes a bug where attachments were loaded into memory to check for HTML content. This could...
  2. Fix HTML attachment conflicts

    Defer JS - for optimization 2.2.1a About: This add-on collects javascript in post-view output...

Latest reviews

Thank you very much.