Setting Different Views For The Same URL Based On Customized Cookie Values

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]
  • Admin
  • Last modified: 2016/03/24 13:48
  • by Michael Alegre