More often than not when I use the “Purge All” button in litespeed cache my site will break.. Console shows 404 errors for litespeed CSS and JS files I’m guessing that the page is still requesting now deleted files, I’ve checked in wp-content/litespeed/cssjs and the files it is requesting aren’t there. I’ve The problem also happens if I use the “clean css/js optimiser” button in DB settings.
I’m running WP 5.6 with litespeed cache 3.5.2, openlitespeed details below:
(built: Tue Nov 24 16:40:45 UTC 2020)
the only way to fix it is to log on to the server itself and and delete the contents of /usr/local/lsws/cachedata/priv/ so it looks like the HTML cache in there still contains references to old files, that isn’t an option for some managers and editors who might want to clear the cache and requires a support call!… Permissions on that directory are nobody:nogroup 770 on dirs and 660 on files so lsws should have the access to delete them.
Can anyone shed some light on why this is happening? when it does happen multiple refreshes of the page, clearing of browser cache and clearing again of litespeed caches don’t work.
The page I need help with: [log in to see the link]
- The topic ‘Site Breaks when clearing cache’ is closed to new replies.