Support for caching
Open
api
backlog
enhancement
infra
- Dominant language
- Go
- Stars
- 2.9k
- Forks
- 369
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 149
Description
Other vulnerability APIs such as PyPI's JSON API provide support for [caching](https://warehouse.pypa.io/api-reference/index.html#caching), allowing the client to avoid making multiple identical requests via [ETag headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag).
The OSV API's use of `POST` requests makes this somewhat challenging, as `POST` responses are not usually cached.
How should OSV support caching, and how should OSV clients cache responses?
Contributor guide
Assessment
This issue has not been assessed yet.