Allow for multiple options in terms of JavaScript loading, placement & aggregation.

mikeytown2 - August 8, 2009 - 09:42
Project:Javascript Aggregator
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Example of how I would like my javascript to load

Load jQuery at the top. Whitespace compressed & minified or CDN source. Top load needed for inline scripts. If hosted local, put in separate dir for very very long browser cache lifetimes via apache rules.
Load the rest of the JavaScript without blocking. Aggregated & whitespace compressed & minified.
http://www.nczonline.net/blog/2009/07/28/the-best-way-to-load-external-j... - slight mod to this would be ideal; inline the loading script.

 
 

Drupal is a registered trademark of Dries Buytaert.