Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm having the following issue.
I add several css files with drupal_add_css and set preprocess to FALSE so that they are not aggregated. This is important because a service parses those css files and needs them to have original names.
When I have CSS aggregation enabled and CDN enabled and exceptions added for those files the files are still renamed by the CDN module.
I looked at the code and the module changes the file names before checking the exceptions. Shouldn't it be the other way around?
Comments
Comment #1
Wim LeersThe "preprocess" flag applies to CSS aggregation: if it's set ot FALSE, the CSS files won't be aggregated.
That doesn't mean the CDN module won't try to rewrite their URLs, to serve them from the CDN. AFAICT you have confused these two concepts here?
Comment #2
Wim LeersClosing due to lack of response.