Posted by mikeytown2 on August 8, 2009 at 9:42am
Jump to:
| Project: | Javascript Aggregator |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
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.
Comments
#2
Cleaning up. Feel free to provide a patch or reopen the discussion.