Wordpress LScache Plugin: Issue with Browser caching wp-admin
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hello Support, My websites wp-admin pages are getting cached. I dont know How the links in admin pages are cached? I see some settings arent saved or the plugins Ive deactivated still shows as activated on browser. When I clear Lightspeed cache, it gets resolved. Sometimes a new post automatically updates the previous post while publish. How to get rid of this? The page I need help with: https://cbshop.in/wp-admin/ Hi, Did you enable object cache ? try disable it and see how it goes and also please provide full HTTP response header on wp-admin page. Best regards, The Object Cache is already disabled. And the Headers that I see in the page source of wp-admin pages as below: Cache ? Cbshop.in ? WordPress addLoadEvent = function(func) if(typeof jQuery!= undefined )jQuery(document).ready(func) else if(typeof wpOnload!=function) wpOnload=func else var oldonload=wpOnload wpOnload=function() oldonload() func() var ajaxurl = /wp-admin/admin-ajax.php, pagenow = litespeed-cache_page_litespeed-cache, typenow = , adminpage = litespeed-cache_page_litespeed-cache, thousandsSeparator = ,, decimalPoint = ., isRtl = 0 After that all the CSS and JS appeared. Hi, No , I mean HTTP response header , like my screenshot https://i.imgur.com/QrEGKRw.png Best regards, General Request URL: https://cbshop.in/wp-admin/admin-ajax.php Request Method: POST Status Code: 200 Remote Address: [2606:4700:8d9d:d900:abe3:4cb2:598a:888a]:443 Referrer Policy: strict-origin-when-cross-origin Response Headers access-control-allow-credentials: true access-control-allow-origin: https://cbshop.in alt-svc: h3-27= :443 ma=86400, h3-28= :443 ma=86400, h3-29= :443 ma=86400 cache-control: no-cache, must-revalidate, max-age=0 cf-cache-status: DYNAMIC cf-ray: 5aead6fbdfb3e920-MRS cf-request-id: 03c6a4b1650000e920f8189200000001 content-length: 47 content-type: application/json charset=UTF-8 date: Mon, 06 Jul 2020 16:53:04 GMT expect-ct: max-age=604800, report-uri= https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct” expires: Wed, 11 Jan 1984 05:00:00 GMT referrer-policy: strict-origin-when-cross-origin server: cloudflare status: 200 x-content-type-options: nosniff x-frame-options: SAMEORIGIN x-litespeed-cache-control: no-cache x-robots-tag: noindex Request Headers :authority: cbshop.in :method: POST :path: /wp-admin/admin-ajax.php :scheme: https accept: application/json, text/javascript, / q=0.01 accept-encoding: gzip, deflate, br accept-language: en-US,en q=0.9 content-length: 82 content-type: application/x-www-form-urlencoded charset=UTF-8 cookie: wordpress_sec_b958cb4987a2ab0ea7b60d2111c049d5=cbshopin%7C1594226061%7CJL4WzDXRP3jeeQ7JfrB2px0ljiq1iX2p3mUTLUojqvO%7C907333b1ff650987184feadf9ce92cb48f394c55e8ccfae564a06a0ebf63fbef litespeed_tab=object __cfduid=d9e90a750512cf52f637ab0afd60004661594041811 wfls-remembered-6PC57B6yYU_jUMjvsVNvKg=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpdiI6IktCZVwvUVwvdk9CQ2Y3bkJIeXo3SjFMQT09IiwiX2V4cCI6MTU5NjYzMzgzNX0.k8OOGteoricf6Amt2nv0FMOzB9xdhYD3Gqm6KiZ67ig wfwaf-authcookie-b49c714bd6da8c661933b06b4bb1e6e4=1%7Cadministrator%7C96b1949b22a1a31ae93a3a32e3e584c1fc6bd5d7d85359eb9d33fd42850224a4 wp-settings-1=editor%3Dtinymce%26libraryContent%3Dbrowse%26advImgDetails%3Dshow%26posts_list_mode%3Dlist%26hidetb%3D1 wp-settings-time-1=1594041836 _ga=GA1.2.1135810675.1594047266 _gid=GA1.2.632689039.1594047266 wordpress_test_cookie=WP+Cookie+check _lscache_vary=476b29832fddb8bee94a7c44c91b7711 wordpress_logged_in_b958cb4987a2ab0ea7b60d2111c049d5=cbshopin%7C1594226061%7CJL4WzDXRP3jeeQ7JfrB2px0ljiq1iX2p3mUTLUojqvO%7C9cdee1adbaf4ed9851ccf260e2f25e4f4861d1d05ac37dd8c86a02d90cedca09 redux_current_tab_get=2 redux_current_tab=17 origin: https://cbshop.in referer: https://cbshop.in/wp-admin/index.php sec-fetch-dest: empty sec-fetch-mode: cors sec-fetch-site: same-origin user-agent: Mozilla/5.0 (Windows NT 6.3 Win64 x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36 x-requested-with: XMLHttpRequest Form Data interval: 60 _nonce: 2fa9909c5e action: heartbeat screen_id: dashboard has_focus: false Hi, I can say LiteSpeed cache is not caching it x-litespeed-cache-control: no-cache do you have opcache ? try disable it and see how it goes Best regards, But I have not any other cache plugin installed. Can you please suggest me how to check opcache? Is there any issue with my .htaccess? RewriteEngine On RewriteCond % REQUEST_URI ^/? .user .ini$ RewriteRule . ? [F,L,NC] Require all denied Order deny,allow Deny from all # BEGIN LSCACHE ## LITESPEED WP CACHE PLUGIN ? Do not edit the contents of this block! ## RewriteEngine on CacheLookup on RewriteRule . ? [E=Cache-Control:no-autoflush] ### marker CACHE RESOURCE start ### RewriteRule wp-content/. /[^/] (responsive|css|js|dynamic|loader|fonts) .php ? [E=cache-control:max-age=3600] ### marker CACHE RESOURCE end ### ### marker LOGIN COOKIE start ### RewriteRule .? ? [E= Cache-Vary:wp-postpass_b958cb4987a2ab0ea7b60d2111c049d5 ] ### marker LOGIN COOKIE end ### ### marker FAVICON start ### RewriteRule favicon .ico$ ? [E=cache-control:max-age=86400] ### marker FAVICON end ### ### marker WEBP start ### RewriteCond % HTTP_ACCEPT image/webp [or] RewriteCond % HTTP_USER_AGENT Page Speed RewriteRule . ? [E=Cache-Control:vary=% ENV:LSCACHE_VARY_VALUE +webp] ### marker WEBP end ### ### marker DROPQS start ### CacheKeyModify -qs:fbclid CacheKeyModify -qs:gclid CacheKeyModify -qs:utm CacheKeyModify -qs:_ga ### marker DROPQS end ### ## LITESPEED WP CACHE PLUGIN ? Do not edit the contents of this block! ## # END LSCACHE # BEGIN NON_LSCACHE ## LITESPEED WP CACHE PLUGIN ? Do not edit the contents of this block! ## ### marker BROWSER CACHE start ### ExpiresActive on ExpiresByType application/pdf A31557600 ExpiresByType image/x-icon A31557600 ExpiresByType image/vnd.microsoft.icon A31557600 ExpiresByType image/svg+xml A31557600 ExpiresByType image/jpg A31557600 ExpiresByType image/jpeg A31557600 ExpiresByType image/png A31557600 ExpiresByType image/gif A31557600 ExpiresByType image/webp A31557600 ExpiresByType video/ogg A31557600 ExpiresByType audio/ogg A31557600 ExpiresByType video/mp4 A31557600 ExpiresByType video/webm A31557600 ExpiresByType text/css A31557600 ExpiresByType text/javascript A31557600 ExpiresByType application/javascript A31557600 ExpiresByType application/x-javascript A31557600 ExpiresByType application/x-font-ttf A31557600 ExpiresByType application/x-font-woff A31557600 ExpiresByType application/font-woff A31557600 ExpiresByType application/font-woff2 A31557600 ExpiresByType application/vnd.ms-fontobject A31557600 ExpiresByType font/ttf A31557600 ExpiresByType font/woff A31557600 ExpiresByType font/woff2 A31557600 ### marker BROWSER CACHE end ### ## LITESPEED WP CACHE PLUGIN ? Do not edit the contents of this block! ## # END NON_LSCACHE # BEGIN WordPress # The directives (lines) between BEGIN WordPress and END WordPress are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. RewriteEngine On RewriteBase / RewriteRule ^index .php$ ? [L] RewriteCond % REQUEST_FILENAME !-f RewriteCond % REQUEST_FILENAME !-d RewriteRule . /index.php [L] # END WordPress # BEGIN LiteSpeed # The directives (lines) between BEGIN LiteSpeed and END LiteSpeed are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. SetEnv noabort 1 # END LiteSpeed # Wordfence WAF php_value auto_prepend_file /var/www/html/wordfence-waf.php php_value auto_prepend_file /var/www/html/wordfence-waf.php Require all denied Order deny,allow Deny from all # END Wordfence WAF Hi, No , opcache is a PHP built-in cache you can create a phpinfo page to check if you have opcache up and running Best regards, ]
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference