We should implement a HTTP cache and hook it up to the Fetch implementation in LibWeb.
Fetch spec: https://fetch.spec.whatwg.org/
HTTP caching spec: https://httpwg.org/specs/rfc9111.html
Files should be stored to disk so they persist across browser restarts.
See specifically https://fetch.spec.whatwg.org/#concept-http-network-or-cache-fetch and our (absence of) implementation in Web::Fetch::Fetching::http_network_or_cache_fetch()
:
// 6. Let httpCache be null.
// (Typeless until we actually implement it, needed for checks below)
void* http_cache = nullptr;
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too