This project enhances the back end performance of core's CSS and JavaScript aggregation features.
- CSS and JavaScript aggregates are generated using the same lazy creation pattern as image derivative presets.
- This allows css and javascript aggregates to be built by multiple, parallel threads during cold starts. Core currently builds them inline during the page rendering process can add around 900ms to serving pages that do this.
- Removes runtime file_exists() checks for css and js aggregates. These can be very expensive on systems running with NFS file storage or similar and occur on every page request in core.
There's a core patch for these changes at #1014086: Consider using imagecache style generation of css and javascript aggregates, however it's relatively simple to implement them as a module. Reviews of the core patch are welcome.
Instructions for use
No configuration should be necessary, however you need clean URLs and CSS/JavaScript aggregation to be enabled on your site. Otherwise just enable the module. You may need to clear page cache (or varnish if using that) after doing this since aggregate file names will change.
Downloads
Other releases
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Performance and Scalability
- Reported installs: 822 sites currently report using this module. View usage statistics.
- Downloads: 6,252
- Last modified: May 29, 2012