Download & Extend

Aggregate cache

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

Version Downloads Date Links
7.x-1.1 tar.gz (13.05 KB) | zip (13.84 KB) 2012-Jan-31 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (13.38 KB) | zip (14.21 KB) 2012-Oct-18 Notes

Project Information


Maintainers for Aggregate cache

  • catch - 20 commits
    last: 31 weeks ago, first: 2 years ago

Issues for Aggregate cache

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants
nobody click here