wodby / varnish

Varnish docker container image
https://wodby.com/stacks/varnish
MIT License
59 stars 29 forks source link

Customize cache hash key via cookies #9

Closed pprishchepa closed 5 years ago

pprishchepa commented 5 years ago

We should consider adding such functionality to varnish image. It will allow us to have different versions of content for the same URL. Different versions for a country, for a currency, for a device and whatever a user wants. It's generic, flexible and easy to use.

Also we may ditch such hardcode https://github.com/wodby/varnish/blob/master/4/templates/includes/mobile.vcl.tmpl.

csandanov commented 5 years ago

Since 4.0.0 we now have VCKEY-