I noticed in the sites/default/files folder the js and css sub-folders have a lot of aggregate files that Drupal may not be using.

Does the Aggregate Cache module remove old aggregate files before creating new ones?

Comments

jbrauer’s picture

I haven't yet looked at how this module handles it but generally with front-end caches like varnish or others you don't want the files to be deleted right away. The HTML files calling an older css aggregate may still be in the cache and still referencing the old aggregate.

catch’s picture

Status: Active » Fixed

Agrcache uses the same directories as core, so it's covered by https://api.drupal.org/api/drupal/includes%21common.inc/function/drupal_... (see callers of that function).

Status: Fixed » Closed (fixed)

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