Wordpress LScache Plugin: Cant exclude custom css file
Last Updated on: Wed, 15 Apr 2026 00:00:02 I have narrowed down which css file is causing issues when turning on CSS combine and it is my custom css file which has a URL like: https://mysite.com/?custom-css=123456789 When I enter it in the exclude field, it renames it to / How can I exclude the custom css file? Hi, ?custom-css=xxxxx is your CSS dynamically generated ? or is it saved into file somewhere ? Best regards, I dont really know how WordPress does it. Its the css that is entered from the custom css setting within Customizer. Hi, You mean like this ? https://i.imgur.com/0mlCtQw.png Best regards Yes, the css in the additional css is what creates that link. But its not saving it correctly when I try to exclude it. Hi, Well , that CSS is stored in database instead of stored into files. I dont have any good way to exclude it , only way I can think of is that you use @import to load CSS from real file , and then try exclude that file instead e.g. in customize , you add @import url(/wp-content/custom/my.css) then place all your CSS code in /wp-content/custom/my.css and exclude it in LSCWP setting. Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference