Plugin Support
qtwrk
(@qtwrk)
Hi,
if you are using CloudFlare page cache then you will need to disable CSS minify , CSS combine, JS minify and JS combine
Best regards,
Hello!
But why does those things are happening? I mean, why does the file .css got excluded or it did even never had been created? And why must those two options be disable?
Thanks!
Plugin Support
qtwrk
(@qtwrk)
when you enable aforementioned options , the JS/CSS file will be minifed/combined and gets name like /wp-content/litespeed/css/xxxxxxxxxx.css , when cache is purged or css is updated, next time it could have different name , for example /wp-content/litespeed/css/yyyyyyyyyyy.css
this is okay if you are using LSCache , because both page cache and CSS are purged and updated at same time
however if you have 3rd party caching , when the CSS name is changed , that CF page cache will not be purged by LSCWP
so your CF page is still linked to xxxxx.css while the actual latest file is now updated to yyyyy.css , and since LSCWP won’t be able to purge CF page cache, and that leads to 404
Hi!
After disabling the options mentioned, the error continues happening. The file .css which is mentioned on html it does not exists on my server.
Plugin Support
qtwrk
(@qtwrk)
please do me a screenshot on the network tab and also error message when you have this error
There is no message error. Even with the configuration set to not minify and combine CSS, the plugin continues to do that, even when I clean the cache from Cloudflare and the css cache.
The screenshot of the source code of my website
https://www.loom.com/i/b0a7185a9b27418ea5ddfa4229a10055
The screenshot of my configuration:
https://www.loom.com/i/b01bdeac85384f35abc732ea5bf7ca3f
Hi @willcunha
Due to inactivity of this topic and many updates on lscwp in the past 4 months, I will mark this topic as “resolved”. If you still have such issues, please feel free to open a new ticket and reference this one. We will check into this further if needed.