As reported in #1404380: Unnecessary aggregation of CSS/JS, unnecessary CSS aggregates are sometimes created. Since the CDN module replaces Core's drupal_build_css_cache() function with its own nearly identical function, this improvement should be included in CDN's version of the function. This will help resolve the same issue when the CDN module is enabled.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Chaulky’s picture

Patch applies cleanly against 7.x-2.x-dev commit http://drupalcode.org/project/cdn.git/commit/7f05ccf

Wim Leers’s picture

Title: Include Core's improvement to drupal_build_css_cache to prevent unnecessary aggregates » Include Drupal core's improvement to drupal_build_css_cache() to prevent unnecessary aggregates
Status: Active » Fixed

AWESOME!

This also explains #1905468: Variables table is not designed to be used as a cache.

Committed: http://drupalcode.org/project/cdn.git/commit/f22a12e


I really should be working on getting CDN's modified version of CSS aggregation in, so that the CDN module can get rid of all that bloat (i.e. no longer duplicate 99.5% of the functionality to add in .5%). The only reason it needs to duplicate things is because it needs to be able to alter file URLs inside aggregated CSS files.
Maybe you want to help with that? :)

Status: Fixed » Closed (fixed)

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