Wordpress LScache Plugin: Background image CDN
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hello, Ive created a CDN with CloudFront and Set Use CDN Mapping to ON in LiteSpeed Cache > Settings > CDN (include image and css). It works fine and all image and css files are served through the CDN except a background image, Litespeed doesnt replace the url: background-image: url(background-image: url(https://mamparasfaus.es/wp-content/uploads/Mampara-metacrilato-colgante.jpg)). Do I need to add any attribute HTML Attribute To Replace ? These are the default HTML Attribute To Replace in LiteSpeed: .src .data-src .href .poster source.srcset This topic was modified 2 years, 1 month ago by reyneli. This topic was modified 2 years, 1 month ago by reyneli. This topic was modified 2 years, 1 month ago by reyneli. The page I need help with: https://mamparasfaus.es Hi, Unfortunately currently LSCWP can only rewrite images in HTML code tag if image is loaded by CSS or JS , LSCWP might not be able to rewrite the URL. Best regards, Ok, thank you.
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference