Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

Add 304 Unmodified Responses #201

Open
dwillis opened this issue Apr 17, 2018 · 0 comments
Open

Add 304 Unmodified Responses #201

dwillis opened this issue Apr 17, 2018 · 0 comments

Comments

@dwillis
Copy link
Contributor

dwillis commented Apr 17, 2018

From an API user: Would you consider using ETags (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag) to support more efficient access to the API? E.g. a client could send the most recent ETag it received in the If-None-Match header (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-None-Match) and get a 304 unmodified response if the resource has not been modified. Clients could then check whether any resources have been updated without straining the API too much. The ETag, could simply be a UUID or a hash of the response.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant