Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
litespeed_wiki:cache:litemage:troubleshooting:no-cache-hit-header [2018/08/07 17:41] Jackson Zhang [Did you turn off CDN cache?] |
litespeed_wiki:cache:litemage:troubleshooting:no-cache-hit-header [2018/08/07 17:49] Jackson Zhang |
||
---|---|---|---|
Line 82: | Line 82: | ||
{{:litespeed_wiki:cache:litemage:troubleshooting:litemage-right-cookie-header-with-lscache-very-miss-hit.png?direct&800}} | {{:litespeed_wiki:cache:litemage:troubleshooting:litemage-right-cookie-header-with-lscache-very-miss-hit.png?direct&800}} | ||
+ | ===== Don't place "RewriteRule (.*) - [E=Cache-Control:no-cache]" in your .htaccess===== | ||
+ | |||
+ | We have nowhere to tell you to place some white rule-based cache enabling/disabling directive in .htacess. Normally if a user does follow our wiki, LiteMage should work out of the box after installation. However, we did find some cases the user placed the following rule to .htaccess, which break LiteMage and show the cache miss header all the time. | ||
+ | |||
+ | As a reminder, please don't place any rewrite rule based cache directives especially the following to .htaccess, unless there is a wiki/KB instructing you to do. | ||
+ | |||
+ | RewriteRule (.*) - [E=Cache-Control:no-cache] |