Site Breaks when clearing cache
-
Hi there,
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:
LiteSpeed/1.6.18 Open
module versions:
modgzip 1.1
cache 1.62
modinspector 1.1
uploadprogress 1.1
mod_security 1.4
(built: Tue Nov 24 16:40:45 UTC 2020)
module versions:
modgzip 1.1
cache 1.62
modinspector 1.1
uploadprogress 1.1
mod_security 1.4the 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.
Thanks
The page I need help with: [log in to see the link]
- The topic ‘Site Breaks when clearing cache’ is closed to new replies.