Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
litespeed_wiki:cache:common:views-based-on-cookie-values [2016/03/23 20:02] Michael Alegre created |
litespeed_wiki:cache:common:views-based-on-cookie-values [2020/11/14 15:25] 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/~~ |
- | + | ||
- | As of version 1.0.11, 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] | + |