Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upSupport for "Vary" header #18
Comments
ArnaudBrousseau
added
the
enhancement
label
Mar 3, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ArnaudBrousseau commentedMar 3, 2018
Currently we rely on configuration to know which parts of an HTTP request are part of the cache key (code link). Instead of a static configuration option per service, it'd be neat to have this be more granular and dynamic, driven by the server through a "Vary" HTTP header in the response:
Vary: Accept-Encoding, Cookie
. See these docs for more info.