This project aims at support for LABjs in Drupal. LABjs is a JavaScript loader, used by Twitter, Vimeo, examiner.com... which loads (and executes) all scripts in parallel as fast as the browser will allow.
Special thanks to Kyle Simpson, author of LABjs, who helps me to solve many technical problems.
Features
Once installed, this module looks for all your JavaScript and LABjsify them automatically. This make all JavaScript are loaded in parallel as maximum as browser supports. The other advantage is that script loading does not block page render.
Module developers can indicate which code should not be labjsified.
Currently there is an issue to get LABjs in core in D8: #1033392: Script loader support in core (LABjs etc.)
Install
Just download and enable the module.
Compatibility
If you are using Google AdManager, please use lazy mode (late loading).
To disable LABjs in certain pages, call labjs_suppress(TRUE) in those page. Useful for admin pages for example.
LABjs requires PHP5.
Alternatives
There are more than one script loader. If you prefer HeadJS over LABjs, check this one. However, in long term, I think there will be a merge.
Downloads
Recommended releases
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: JavaScript Utilities, Performance and Scalability
- Reported installs: 153 sites currently report using this module. View usage statistics.
- Last modified: February 13, 2012