ember-nexus / api

Knowledge Graph API
https://ember-nexus.github.io/api
GNU Affero General Public License v3.0
11 stars 3 forks source link

Implement `Vary` and `Key` HTTP headers #234

Closed Syndesi closed 6 months ago

Syndesi commented 8 months ago

See also https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary and https://greenbytes.de/tech/webdav/draft-ietf-httpbis-key-latest.html .

Syndesi commented 6 months ago

The Vary and Key headers will not be implemented at this time, as they are not required. Currently only two (and soon 3) headers will have an effect on the response:

According to the internet and RFC, both cases are implied in normal cache mechanisms, see also: