'HTTP Header Vary - Order of values
We serve files for our websites to which we add CORS headers. The Vary header is required for cache management at the CDN and browser level.
So the question: is there any importance in the order of the values in this header?
Vary: Origin, Access-Control-Request-Headers, Access-Control-Request-Method, Accept-Encoding
An application at one of our CDN providers adds a Vary header in addition to ours. This results in the following:
Vary: Accept-Encoding
Vary: Origin, Access-Control-Request-Headers, Access-Control-Request-Method, Accept-Encoding
We know that we can declare it multiple times according to the RFCs; the concern is what happens to the order of the elements for this parameter.
Thanks.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
