This is the holy grail of CSS & JS aggregation and optimization. If you want your website to load faster, install this module. If you think flushing your CSS/JS directory on certain submit forms is a dumb idea, you should install this module. If you like the idea of using Google's CDN for jquery.js, install this module. It also aggregates JS in the footer. JS minification/CSS compression ... you guessed it install this module. Gzip CSS/JS files, yep it does that too! Using a private file system? Use this module and bring back aggregation for improved performance! Wish you could use the same aggregate on different pages, guess what? Install the bundler submodule and watch in awe of how fast your site loads.
See the readme.txt file for more details.
This is fully compatible with the following modules:
Parallel CSS - AdvAgg Plugin
If the user has the permission of "bypass advanced aggregation" then adding
?advagg=0 to the end of the URL will turn off aggregation for that request (very useful for debugging CSS/JS issues on a live site). CSS files are located in the
files/advagg_css dir. JS files are located in the
These are the modules I borrowed from in order to make this happen.
IE Unlimited CSS Loader
Reason why this is an all in one module is because of the 404 handling; yes that is correct, getting a 404 for a CSS or JS file is now almost impossible. This is good news for Varnish, Purge and Boost users.
#1172010-6: Quicktabs, AdvAgg - Loaded via AJAX do not pull advagg bundles
#1149792-9: CTools - Allow ctools_ajax_page_preprocess to not be ran & added documentation to includes/ajax.inc
#1120266: CSSTidy - @font-face broken in Firefox 3.6.x. & Opera 11.1x
#1122766: CSSTidy - Corrupted CSS background image properties when "Preserve CSS" is disabled
#1358506: AdvAgg, Popups API: No CSS/JS aggregation on Popups
#1166622: AdvAgg, Fast 404: Support for AdvAgg
#1078060-76: CSS Embedded Images - Add in support for advagg's hooks
You can use a snapshot if you wish to test out this patch. Please report success/failure in the above issue.
#1171546: AdvAgg - D7 Port/Re-write
We need help testing the D7 version. It should only be downloaded and installed if planning on helping to test (not for production sites at the moment).
List of modules in D7 that might provide similar functionality.
http://drupal.org/sandbox/JaceRider/1728316 (Aggregated SASS via Compass)