Differences
This shows you the differences between two versions of the page.
Last revision Both sides next 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 [2016/03/24 13:48] Michael Alegre |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Setting Different Views For The Same URL Based On Customized Cookie Values ====== | ====== Setting Different Views For The Same URL Based On Customized Cookie Values ====== | ||
- | 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: | + | 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] | RewriteRule .* - [E=cache-vary:cookie_name] |