Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
litespeed_wiki:cache:lscwp:configuration:excludes [2018/03/29 20:08]
Lisa Clarke Adjusted title
litespeed_wiki:cache:lscwp:configuration:excludes [2020/05/04 13:40]
Shivam Saluja
Line 1: Line 1:
 ====== LiteSpeed Cache for WordPress Settings: Excludes ====== ====== LiteSpeed Cache for WordPress Settings: Excludes ======
 +**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]].
  
-{{:​litespeed_wiki:​cache:​lscwp:​lscwp-settings-excludes.png?​direct&​800|}}+{{:​litespeed_wiki:​cache:​lscwp:​lscwp-settings-excludes.png?​nolink|}}
  
-===== Do Not Cache URIs =====+===== Force Cache URIs =====
 //empty string// //empty string//
  
-Paths containing the listed strings ​will not be cached. One per line. Each string will be compared to the REQUEST_URI server variable. If there is a match, the URI will not be cached. To indicate the beginning of a string, add ''​^''​ to the beginning of the string. To do an exact match, add ''​$''​ to the end of the string.+Paths containing the listed strings ​//​WILL// ​be cached, regardless of any "​non-cacheable"​ settings that may appear elsewhere. One per line. Each string will be compared to the REQUEST_URI server variable. If there is a match, the URI will be cached. To indicate the beginning of a string, add ''​^''​ to the beginning of the string. To do an exact match, add ''​$''​ to the end of the string.
  
-==== Examples ====+==== String Matching ​Examples ====
  
 Assume you have the following URIs: Assume you have the following URIs:
Line 21: Line 22:
  
 The string ''​^/​recipes/​baking''​ will match #1, #2, and #3 (because ''​^''​ indicates the beginning of the URI). The string ''​^/​recipes/​baking''​ will match #1, #2, and #3 (because ''​^''​ indicates the beginning of the URI).
 +
 +===== Do Not Cache URIs =====
 +//empty string//
 +
 +Paths containing the listed strings will not be cached. One per line. Each string will be compared to the REQUEST_URI server variable. If there is a match, the URI will not be cached. To indicate the beginning of a string, add ''​^''​ to the beginning of the string. To do an exact match, add ''​$''​ to the end of the string. (See the **Force Cache URIs** setting above for examples of how the string matching works.)
 +
 ===== Do Not Cache Query Strings ===== ===== Do Not Cache Query Strings =====
 //empty string// //empty string//
  • Admin
  • Last modified: 2020/11/14 15:20
  • by Lisa Clarke