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 have relative urls embedded in my css which pickup fonts that are used to display font icons.
I though I could serve javascript and image files via CDN and skip the css to leave the font icons as is.
However just enabling this module in Origin Pull mode immediately disables the relative URL's in the css.
Should that be happening?
Comments
Comment #1
Wim LeersDefinitely not. Minor clarification: it only happens in Basic mode, and when the CDN module's status is set to "enabled", not "disabled" or "testing mode".
See http://cgit.drupalcode.org/cdn/tree/cdn.module?id=7.x-2.6#n238.
Comment #2
Wim LeersOn investigating this, it's not clear what you mean by "disables relative URLs in the CSS". Does it transform them to absolute URLs? Does it rewrite them to the CDN?
How does Drupal core — without the CDN module — change these "relative URLs in the CSS" when CSS aggregation is on?
Comment #3
Wim LeersNo replies in 5 months and 8 days. Closing. Feel free to reopen if you have more information.