Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
litespeed_wiki:cache:lscwp:configuration:excludes [2017/11/03 20:13] Lisa Clarke [Do Not Cache User Agents] |
litespeed_wiki:cache:lscwp:configuration:excludes [2020/11/14 15:20] (current) Lisa Clarke Redirect to new Documentation Site |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== LSCWP Configuration Settings: Excludes ====== | + | ~~REDIRECT>https://docs.litespeedtech.com/lscache/lscwp/pageopt/~~ |
- | + | ||
- | {{:litespeed_wiki:cache:lscwp:lscwp-settings-excludes.png?direct&800|}} | + | |
- | + | ||
- | ===== Do Not Cache URIs ===== | + | |
- | //empty string// | + | |
- | + | ||
- | This should be a list of WordPress URLs that should not be cached. LiteSpeed Cache understands that there are some situations that should not be cached already, such as the WooCommerce checkout page. | + | |
- | + | ||
- | ===== Do Not Cache Query Strings ===== | + | |
- | //empty string// | + | |
- | + | ||
- | You can eliminate URLs with certain query strings from being cached. For example, if you don't want to cache any page that is rendered in a purple color scheme, you could enter ''color=purple'' in that list (assuming the URL you use to indicate that a page should be purple looks like ''<nowiki>http://example.com/page?color=purple</nowiki>''). You could also enter ''color'' to indicate that you don't want to cache //any// URL where color is specified, regardless of which color it is. | + | |
- | + | ||
- | ===== Do Not Cache Categories ===== | + | |
- | //empty string// | + | |
- | + | ||
- | This is a list of category //pages// that should not be cached. | + | |
- | + | ||
- | + | ||
- | ===== Do Not Cache Tags ===== | + | |
- | //empty string// | + | |
- | + | ||
- | This is a list of tag //pages// that should not be cached. | + | |
- | + | ||
- | + | ||
- | ===== Do Not Cache Cookies ===== | + | |
- | //empty string// | + | |
- | + | ||
- | This is a list of cookies that should not be cached. Note that this means on the existence of the cookie. | + | |
- | + | ||
- | + | ||
- | ===== Do Not Cache User Agents ===== | + | |
- | //empty string// | + | |
- | + | ||
- | This is a list of user agents that should not be cached. Note that this means on a partial match of the user agent. | + | |
- | + | ||
- | ===== Do Not Cache Roles ===== | + | |
- | //unchecked// | + | |
- | + | ||
- | There may be user roles that you wish to exclude from caching. For example, if you are an admin, testing new functionality, you may want to exclude your ''administrator'' role from being served from cache until your testing is through. | + |