CDN base URL is not effective
-
CDN base URL is not used for background image urls if “Aggregate CSS-files” is unchecked.
Here is how to reproduce:-
In the AO options-
1. Enable – Optimize CSS Code
2. Uncheck – Aggregate CSS-files (important)
3. Add CDN URL in CDN Base URL option.Expected behavior – for autoptimized CSS files, the background image URL should be replaced with the CDN URL.
However the CDN replaces the URL if the option “Aggregate CSS-files” is checked.
How this will be useful?
Let’s say someone only wants to optimize css code but doesn’t want to Aggregate all css files. It will be really good if the CDN url is used and all background images are still fetched from CDN even if all the css files are not agreegated.
The page I need help with: [log in to see the link]
- The topic ‘CDN base URL is not effective’ is closed to new replies.