Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
litespeed_wiki:cache:litemage:troubleshooting:handle-cookie-vary [2018/10/08 14:50] Eric Leu |
litespeed_wiki:cache:litemage:troubleshooting:handle-cookie-vary [2018/10/08 14:55] (current) Eric Leu |
||
---|---|---|---|
Line 7: | Line 7: | ||
- | RewriteRule .* - [E=Cache-Vary:user_allowed_save_cookie] | + | RewriteRule .* - [E=cache-vary:user_allowed_save_cookie] |
| | ||
When a customer clicks **Allow**, the cookie ''user_allowed_save_cookie=%7B%221%22%3A1%7D;'' will be created. Using the rewrite rule above, the cache will vary on that cookie. This means the cache will store two copies: one that shows the yellow bar at the bottom, and one that does not. | When a customer clicks **Allow**, the cookie ''user_allowed_save_cookie=%7B%221%22%3A1%7D;'' will be created. Using the rewrite rule above, the cache will vary on that cookie. This means the cache will store two copies: one that shows the yellow bar at the bottom, and one that does not. | ||