I have the following situation:
On my site, javascript sets a cookie that contains relevant information for generating the markup.
I therefore want Varnish to cache each page separately for each value of said cookie.
All the documentation I have found says that Varnish will not cache if any cookie is present, and explains how to remove cookies in Varnish preprocessing.
This is obviously not what I want, I want to cache, even if a certain cookie is present, but seperately for each value of the cookie.
Any way to achieve this?