Not working, it dont show miss or hit




Wordpress LScache Plugin: Not working, it dont show miss or hit

Last Updated on: Wed, 15 Apr 2026 00:00:02
It dont work with me. please check and help me. There is my .htacess RewriteOptions inherit # BEGIN WordPress RewriteEngine On RewriteCond % HTTPS off RewriteRule ^(. )$ https://% HTTP_HOST % REQUEST_URI [L,R=301] RewriteBase / RewriteRule ^index .php$ ? [L] RewriteCond % REQUEST_FILENAME !-f RewriteCond % REQUEST_FILENAME !-d RewriteRule . /index.php [L] # END WordPress # Wordfence WAF php_value auto_prepend_file /home/tranngo3/public_html/wordfence-waf.php ###LSCACHE START PLUGIN ? Do not edit the contents of this block!### RewriteEngine on CacheLookup Public on ###LSCACHE START RESOURCE### RewriteRule wp-content/. /[^/] (loader|fonts| .css| .js) .php ? [E=cache-control:max-age=3600] ###LSCACHE END RESOURCE### ###LSCACHE START FAVICON### RewriteRule favicon .ico$ ? [E=cache-control:max-age=86400] ###LSCACHE END FAVICON### ###LSCACHE END PLUGIN ? Do not edit the contents of this block!### Require all denied Order deny,allow Deny from all # END Wordfence WAF //301 Redirect Old File Redirect 301 /l /lol.html Redirectmatch 301 /huong-dan-su-dung-google-drive/(. ) /huong-dan-google-drive-toan-tap/ my website: https://tranngocminhhieu.com i deactived more plugin, but when your plugin un-updated, it work with me. i dont know what happend after updated a few day. This topic was modified 5 years, 6 months ago by hieutnm. Hi @hieutnm Your .htaccess ruleset contains different rules than normal WordPress, so Im not 100% sure about all the rules that you will have to move. That said, The LiteSpeed Cache rules must be before the WordPress rules that involve url rewriting, specifically: RewriteRule ^index .php$ ? [L] RewriteCond % REQUEST_FILENAME !-f RewriteCond % REQUEST_FILENAME !-d RewriteRule . /index.php [L] If you have nothing against it, you could try moving the entire BEGIN/END WordPress section to the bottom of the .htaccess and see how that works for you. As always, before making any changes, please make a backup of your current .htaccess. Let me know how it goes, Kevin @litespeedtech there is my .htacess and result LScache work after changed RewriteOptions inherit # Wordfence WAF php_value auto_prepend_file /home/tranngo3/public_html/wordfence-waf.php ###LSCACHE START PLUGIN ? Do not edit the contents of this block!### RewriteEngine on CacheLookup Public on ###LSCACHE START RESOURCE### RewriteRule wp-content/. /[^/] (loader|fonts| .css| .js) .php ? [E=cache-control:max-age=3600] ###LSCACHE END RESOURCE### ###LSCACHE START FAVICON### RewriteRule favicon .ico$ ? [E=cache-control:max-age=86400] ###LSCACHE END FAVICON### ###LSCACHE END PLUGIN ? Do not edit the contents of this block!### Require all denied Order deny,allow Deny from all # END Wordfence WAF //301 Redirect Old File Redirect 301 /l /lol.html Redirectmatch 301 /huong-dan-su-dung-google-drive/(. ) /huong-dan-google-drive-toan-tap/ # BEGIN WordPress RewriteEngine On RewriteCond % HTTPS off RewriteRule ^(. )$ https://% HTTP_HOST % REQUEST_URI [L,R=301] RewriteBase / RewriteRule ^index .php$ ? [L] RewriteCond % REQUEST_FILENAME !-f RewriteCond % REQUEST_FILENAME !-d RewriteRule . /index.php [L] # END WordPress All setting in plugin is default. If you have the capability to, please check the server cache root setting. Those headers usually mean that the cache was unable to store the cache entry. If you are with a shared host, please contact your hosting provider to do the check. This is the relevant wiki article: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:common_installation#web_server_configuration Let me know if there are any questions about this! Kevin @litespeedtech i use shared hosting. i only know use cpanel with my hosting. Can you recommend step by step what should i do in a normal cpanel like that @hieutnm, Apologies, thought we replied to this. Unfortunately, the actions required to fix the issue requires WHM access, not cPanel. The easiest way to get this resolved is to request that the server admin submit a ticket to our ticketing system. We will be able to work with them to get this resolved ASAP. Cheers, Kevin



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



Reference