Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
litespeed_wiki:cache:common:views-based-on-cookie-values [2016/03/24 13:48] Michael Alegre |
litespeed_wiki:cache:common:views-based-on-cookie-values [2020/11/14 15:25] (current) Lisa Clarke Redirect to new Documentation Site |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Setting Different Views For The Same URL Based On Customized Cookie Values ====== | + | ~~REDIRECT>https://docs.litespeedtech.com/lscache/start/~~ |
- | + | ||
- | You can use a rewrite rule to store separate cached copies of a page based on a customized cookie name. The rewrite rule is as follows: | + | |
- | + | ||
- | RewriteRule .* - [E=cache-vary:cookie_name] | + |