Enable minifaction for javascripts in footer

derjochenmeyer - May 1, 2009 - 13:09
Project:Javascript Aggregator
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Attached is a patch to additionally enable minifiation and gzipping of js files outputted in the footer.

Therefore splitting up the original code of Drupal 6 version (all maintained by Rob Loach) into different functions.

AttachmentSize
javascript_aggregator_minify_footer_js.patch5.36 KB

#1

derjochenmeyer - May 1, 2009 - 14:13

Also check this additional patch #409688: minified javascript not being referenced when $scripts is printed for ensuring that Javascript Aggregator works when jQuery Update is enabled.

Tested both patches in combination (example).
- Total js size without Javascript Aggregator: 168 KB
- Total js size with Javascript Aggregator: 33 KB

#2

derjochenmeyer - May 21, 2009 - 00:37
Status:needs review» fixed

Added this to current dev.

#3

System Message - June 4, 2009 - 00:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.