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

Wim Leers’s picture

Category: Bug report » Support request
Status: Active » Postponed (maintainer needs more info)

The "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?

Wim Leers’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing due to lack of response.