Improve HTTP cache options
Open
engine
feature request
good first issue
network
- Dominant language
- C++
- Stars
- 6.3k
- Forks
- 455
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 129
Description
**Is your feature request related to a problem? Please describe (REQUIRED):**
We currently use two mechanisms for the HTTP cache (in http_cache.cpp):
* Cache-Control: max-age= (https://github.com/defold/defold/blob/dev/engine/dlib/src/dlib/http_client.cpp#L416-L428)
* ETag
We do not handle any of the other [Cache-Control options](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) and we do not handle the [Expires header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expires).
**Describe the solution you'd like (REQUIRED):**
We should handle the Expires header and at least a few of the other Cache-Control options.
Contributor guide
Assessment
This issue has not been assessed yet.