Wordpress LScache Plugin: WPADMIN being cached
Last Updated on: Wed, 15 Apr 2026 00:00:02 everything in my wpadmin is being cached, including the litespeed settings. So no matter what I changed, it just show sme the previous settings. I have purged everything and cleared my browser cache, but it still caching all pages. As a result I do not know what plugins actually need updating, as it is showing a cached page, and telling me plugins need updating which have already been updated. Hi, please check your HTTP response header on wp-admin pages by default LSCWP does NOT cache wp-admin , please check if you have any force cache setting also what is your server environment ? shared hosting or your own managed server ? Best regards, it is shared hosting. What do you mean by check if you have any force cache setting Hi, I mean the options like these also please check your http response header on wp-admin pages , it should show x-litespeed-cache-control: no-cache Also did you enable object cache and opcache ? Best regards, Hi, I have the same problem. I manage my own server with LiteSpeed server (OpenLiteSpeed). The settings you mentioned are blank. WP and the plugin are updated to the latest version. I disabled the object cache and opcache and I done a Purge All, but the problem is always there. Another thing I noticed is that every notification I have in the dashboard (for example updated plugin or cache purged), comes out when I change page and to remove it I have to refresh the page itself. But what are response header you see on wpadmin page? no-cache Yeah well could you please post a more detailed, full header? This is the result from the home page when I logged as admin: access-control-allow-origin: alt-svc: quic=:443 ma=2592000 v=43,46 , h3-Q043=:443 ma=2592000, h3-Q046=:443 ma=2592000, h3-Q050=:443 ma=2592000, h3-25=:443 ma=2592000, h3-27=:443 ma=2592000 cache-control: public, max-age=15552000 content-encoding: gzip content-type: text/html charset=UTF-8 date: Sat, 07 Nov 2020 16:57:10 GMT expires: Wed, 11 Jan 1984 05:00:00 GMT link: rel=https://api.w.org/ link: rel=alternate type=application/json link: rel=shortlink pragma: no-cache public-key-pins: pin-sha256=pin1 pin-sha256=pin2 max-age=2592000 referrer-policy: strict-origin-when-cross-origin server: LiteSpeed status: 200 vary: Accept-Encoding x-content-type-options: nosniff x-frame-options: SAMEORIGIN x-litespeed-cache-control: no-cache x-xss-protection: 1 mode=blockExpand check these 2 cache-control: public, max-age=15552000 and x-litespeed-cache-control: no-cache LiteSpeed cache did NOT cache this page, but something else tell browser to cache the page for 15552000 seconds you need to get rid of that cache-control header Now, I see the issue. I had followed this guide: How to set up custom headers in OpenLiteSpeed but the setting of the Header Operations give me this cache issue in wp-admin dasboard. I have removed this unset Cache-control set Cache-control public, max-age=15552000 set Access-Control-Allow-Origin: and now it is all ok. Thank you for your support! well , I guess you might be missing the part exp:^. (css|gif|ico|jpeg|jpg|js|png|webp|woff|woff2|fon|fot|ttf)$ without this , it will apply to ALL URI , instead of these static file only Oh dude, you are right! So can I set that up again? I mean this: unset Cache-control set Cache-control public, max-age=15552000 set Access-Control-Allow-Origin: yes , but do EXACTLY as that guide state , dont miss anything and double check you do NOT see cache-control header OTHER than static resources Hi, Im going to mark this topic Resolved , due to lack of activity. If you still need help, please feel free to re-open it. Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference