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.

Comments

derjochenmeyer’s picture

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

derjochenmeyer’s picture

Status: Needs review » Fixed

Added this to current dev.

Status: Fixed » Closed (fixed)

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