The more we begin to use collections of JavaScript and CSS libraries, the more data the browser has to download in order to load up your project ultimately affecting user experience.
LABjs is a neat project that attempts to provide a solution to streamlining the process by which browsers download multiple libraries.
Specifically, LABjs will load all specified JavaScript files on-demand and in parallel. One major advantage of this is that it will also help in prevent blocking as resources are downloaded to the client-side. The project site claims that it will do this as fast as the browser will allow.
LABjs is also configurable so that you have control over the order in which files are ordered and if you can block when necessary. The project site claims that:
[LABjs] is aiming to be the single best solution for optimized, flexible, general script loading available.
Definitely interested in following this. It may be a really good alternative if a CDN is out of budget for your current project.
Speak your mind...