Wordpress LScache Plugin: CDN + Minify CSS = fonts issue
Last Updated on: Wed, 15 Apr 2026 00:00:02 It looks like there is an issue with CSS fonts when both CDN and Minify CSS options are enabled. Original path to the font looks like the following: ../fonts/open-sans-condensed/opensans-condlight-webfont.woff But when CDN and Minify CSS is enabled is changes to: https:https://cdn.sample-site.com/wp-content/themes/theme-name/fonts/open-sans-condensed/opensans-condlight-webfont.woff Yes, there is an additional https: at the beginning. As a result, the fonts are not loaded properly. Thanks! This topic was modified 5 years, 2 months ago by Szymon Skulimowski. Just tested with @font-face font-family: examplefont src: url(../test.woff) in , its replaced to @font-face font-family:examplefont src:url(/wp-content/themes/test.woff) in http://s54/min/bf207.css which should be correct. CDN URL: //s54/ Original URL: //192.168.0.54/ Can you tell more details? Paste the css snippet if possible. Thanks. Thanks for an update! I extended scope of the tests and my issue isnt about only fonts but all relative links in CSS. original CSS: .test background: url(../images/image.png) CDN on, Minify CSS off: .test background: url(../images/image.png) CDN off, Minify CSS on: .test background:url(/wp-content/themes/dr/images/image.png) CDN on, Minify CSS on: .test background:url(https:https://domowejroboty.r.worldssl.net/wp-content/themes/dr/images/image.png) My configuration: https://i.imgur.com/NyyxoR9.png https://i.imgur.com/J8Gznua.png I have the same issue as Szymon. The patch for the CDN resources is wrong. Bug found, and killed Lets see in v1.2.4 this week. BTW: you can try manually replacing this file to see if it works also: https://github.com/litespeedtech/lscache_wp/blob/master/litespeed-cache/includes/litespeed-cache-cdn.class.php Yes, that solves the issue, thanks!
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference