Wordpress LScache Plugin: CDN not used in CSS url
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hi! Ive setup a CDN with Litespeed on my hosting, and all the links for assets are going through the CDN as expected. However, the url() in the CSS in not using the CDN. Image using CDN: https://anabelasantos.b-cdn.net/wp-content/uploads/logo.svg CSS using normal link: background-image: url( https://anabela-santos.com/wp-content/uploads/topo-nutricode.png ) This image is set via Elementor. Also, just noticed this warnings on GT Metrix: There are 2 static components that are not on CDN. https://anabela-santos.com/wp-content/litespeed/css/f068abbf9c625927315f1fdac0b4936a.css https://anabela-santos.com/wp-content/litespeed/js/16c981161c53459721387c460cc6b227.js Thanks! This topic was modified 1 year, 2 months ago by Afonso Santos. This topic was modified 1 year, 2 months ago by Afonso Santos. Hi, CDN mapping doesnt filter through images within CSS file I will forward it as feature request to our devs. Best regards, Hi! That would be awesome, looking forward for that feature. Thanks!
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference