LSCache having issues with ManageWP




Wordpress LScache Plugin: LSCache having issues with ManageWP

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hello, We use ManageWP to manage updates for our clients WordPress sites. Sometimes after the scheduled updates are installed, the site breaks in some way. Usually CSS issues. Simply logging in to the dashboard and purging all cache resolved the issue. Our updates get installed every Monday night. Is there any way to schedule a cache purge for after that time? Or any other possible suggestions? Thanks, Alan. Hi, Perhaps a WP CLI command after your update Or schedule an purge API call Please let us know if above 2 ways suitable for you. Best regards, Thanks for your reply. I will look at those options. Hopefully, ManageWP fire some kind of hook after performing updates. Have a great day. Hi, If it has hook, perhaps this option here might also help. Best regards, Thanks for that. Unfortunately ManageWP doesnt appear to fire any hooks that can be used. I have just added the upgrader_process_complete hook to LSCache. Well see how that goes. Hello, As per above, adding the upgrader_process_complete hook to LSCache ? Advanced->Purge All Hooks has not resolved my issue. Also, it appears that it has nothing to do with ManageWP managing the updates as I have found it does the same with manually installing updates. Currently, I have 5 sites using LSCache, using 3 different themes. I had CSS Minify and CSS Combine enabled on all. All of them appear to have an issue with broken CSS after plugin or theme updates install. Manually purging the cache resolves the CSS issues. Therefore, I think the settings in LSCache for CSS Minification/Combining are OK. For now, Im going to have to assume that this feature just does not work properly and not use it. Im not sure what to try next. Hopefully, someone will have some ideas. Thanks, Alan. Hello Again, Another update. I left one of my sites with CSS Minification and Combining enabled to see what will happen. https://www.wpevolve.net/ After the last updates it was broken again. It looks like what is happening is that URLs in the css get broken. EG. URL /wp-content/themes/Divi/core/admin/fonts/modules.ttf gets changed to /modules.ttf The theme Divi also has an option to combine and minify css/js. I have just switched that off and left it on in LSCache. Ill check in another week to see how it went. Does anyone from the LS Cache developers monitor this forum? or should I be asking this question elsewhere? Thanks, Alan. Hi, Yes, we are here. the only feature I know of, from LSCWP, that changes the URL is CDN setting , did you enabled CDN or something ? Best regards, No, Just checked. Enable CDN is off. I was having the same issue with 6 sites. On 5, I switched off the LS Cache CSS Minify/Combine. They now all work fine after updates install. I have only left it enabled on https://www.wpevolve.net/ and it is the only site that breaks now. Hi, I am not seeing any 404 error in dev tool If possible , please provide a screenshot of how it breaks, by break you mean like style gone haywire ? page renders incorrect or something ? and whenever you see that happens , please enable the debug log , it will log all the actions LSCWP did , like rewrite URL , optimize CSS file ?etc , from there , we might have some information Best regards, Hello, Currently, you wont see an issue. As soon as I purge all LS Cache it fixes the issue. What I will do is roll the site back to last nights backup. Then enable debugging, then do the updates. We should see the broken site before purging the cache. If you want to take a direct look. Forward me an email address and I will create an admin user for you. Thanks for your help. Ill come back to you soon. Hello, I restored the site to yesterday, enabled LS Cache debugging, Installed updates. The side did not break.. So frustrating.. I guess Ill have to just wait until it breaks again and come back to you. Should I leave LS Cache debugging on for now? I have the debug level set to Advanced. Hi, Also please set debug log to your IP. If the break happens randomly , then this will probably make things more difficult But after the break happens , it will always happen until you purge cache , right ? so when that happens , please access the front page , copy out the debug log and save it to local and note down which URLs are changed to 404 error you see in dev tool. then do a purge lscache only (not purge all) , access page again and see if page still breaks or not, and also save the log if purge lscache alone doesnt fix the issue , now repeat above process, but this time , purge JS/CSS file , log it , and see if page fixed or not. Best regards, Thanks, Just tried again. Still didnt break. But after the break happens , it will always happen until you purge cache , right ? Correct. Ill have to leave it until it breaks again. Thanks again for your help. Hello, Finally, it broke again after an update. Purging CSS/JS cache resolved the issue. I was getting 404 errors on .ttf and .woff files.



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference