Wordpress LScache Plugin: Problem with CSSJS table and Flatsome theme
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hello, Ive noticed that my CSSJS folder on wp-content/litespeed/cssjs is getting bigger and bigger. Before I made a complete database cleanning on LiteSpeed Cache > Database > Clean CSS/JS Optimizer the folder had about 8.5GB. So, after read this old thread and your docs about Disk Space Filling Fast , I started to search for random strings in the source code of my website. I realized that my theme (Flatsome) allways generate random strings for CSS classes for a lot of elements. How to solve that? If you guys need, my Report number is: NVOCBXPB Best regards, Jos? Guilherme The page I need help with: https://jadoces.com.br Hi, Please check this page also wait for next release which should address this issue Best regards, Sorry, but you mentioned the same page that I mentioned on my question? And do you know when the release is going to be delivered? Regards Hi, the issue is caused by combine inline/external JS/CSS you could disable them for the time being you can try add these into CSS exclude row- col- cats- stack- timer- gap- portfolio- image_ banner- map- text-box- page-header- section_ thats the case I encountered with flatsome before. I dont have definitive date for that , but hopefully later April or early May Best regards, Hello, After exclude the mentioned CSS classes and an extensive trial and error approach, I have concluded that the problem is associated with Javascript, not CSS. If I only activate CSS optimizations, there is no problem. But, when I activate JS optimizations, the CSSJS table is incremented on each access (even if I test on static pages, just like the Privacy Policy page of my website). So, basically, the problem is with these options: JS Combine and JS Combine External and Inline. If I deactivate them, everything runs fine! As I would like to keep them activated, I had to change 3 things on my website: Removed the Site Kit by Google plugin Added gallery- in the CSS excludes. You guys need to add this ID to your predefined list too. Replaced the Flatsome Map element by a simple embeded Map, as described here. That is all! Regards, Jos? One thing that Ive noticed, is that the number shown on Clean CSS/JS Optimizer (XX) side parenthesis (on Database option), increases if I load a page in a desktop and in a mobile browser. The same thing happens If I am logged in as an administrator or if Im not. Is that right? Thank you! Hi, yes, that is normal as it increased , as long as its within reasonable number if you see it keep growing until you reached same or bigger size for your cssjs table , then that means we didnt exclude the correct string Best regards, Hello, But is it ok for the table to generate different files if I access the page on a desktop browser and on a mobile browser? Regards, Jos? Hi, I am not sure what do you mean by table in this context ? the table device ? or database table ? Best regards, Hello, The CSSJS database table. Best regards, Jos? Hi, as long as the row number in that table is reasonable number some theme/plugins might have different JS/CSS for desktop and mobile page Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference