This is an old revision of the document!
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]