Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
litespeed_wiki:cache:lscwp:troubleshooting:browser_displays_stale_content [2017/08/07 19:35]
Lisa Clarke created
litespeed_wiki:cache:lscwp:troubleshooting:browser_displays_stale_content [2020/05/04 13:50]
Shivam Saluja
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
 ====== The Browser Displays Stale Content ====== ====== The Browser Displays Stale Content ======
 +**Please Note**: This wiki is valid for v2.9.x and below of the LiteSpeed Cache Plugin for WordPress. If you are using v3.0 or above, please see [[https://​docs.litespeedtech.com/​lscache/​lscwp/​overview/​|the new documentation]].
  
 ===== Symptom ===== ===== Symptom =====
Line 8: Line 9:
 ===== Cause ===== ===== Cause =====
  
-The page is being served from the browser cache due to cache rules present in ''​.htaccess''​ (in the WordPress root directory).  +The page is being served from the browser cache due to cache rules present in ''​.htaccess''​ (most likely ​in the WordPress root directory). ​
- +
-If ''​.htaccess''​ contains an ''​ExpiresDefault''​ cache rule, or an ''​ExpiresByType text/​html''​ cache rule that is not set to 0 seconds, the browser cache will override LiteSpeed Cache'​s expected behavior, often serving stale content as a result.+
  
 +If ''​.htaccess''​ contains an ''​ExpiresDefault''​ cache rule, or an ''​ExpiresByType text/​html''​ cache rule that is not set to 0 seconds, the copy stored by the browser cache will be served. //The page will never be requested from LiteSpeed//​. Because the browser cache lacks the advanced purging rules that are the backbone of LiteSpeed'​s accuracy, this can result in stale content being served.
 ===== Solution ===== ===== Solution =====
  
  • Admin
  • Last modified: 2020/11/14 15:42
  • by Lisa Clarke