Should we set Vary: Accept-Encoding, so the response gets cached correctly by any intermediary proxies (CloudFront, etc.)?
I think the Vary may get blown away if a subsequent handler sets a different Vary (e.g. Vary: Cookie), but perhaps it's still worth setting it to cover for most cases.
Should we set
Vary: Accept-Encoding
, so the response gets cached correctly by any intermediary proxies (CloudFront, etc.)?I think the Vary may get blown away if a subsequent handler sets a different Vary (e.g.
Vary: Cookie
), but perhaps it's still worth setting it to cover for most cases.