Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibWeb: HTTP caching #24185

Open
awesomekling opened this issue May 2, 2024 · 0 comments
Open

LibWeb: HTTP caching #24185

awesomekling opened this issue May 2, 2024 · 0 comments
Labels
enhancement New feature or request fund This issue can be funded via polar.sh performance spec compliance

Comments

@awesomekling
Copy link
Member

awesomekling commented May 2, 2024

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;

Funding

  • We're currently trying Polar.sh where you can help fund the work on this issue.
  • Contributor(s) receive the funding once the issue is completed & confirmed.
Fund with Polar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fund This issue can be funded via polar.sh performance spec compliance
Projects
Status: Todo
Development

No branches or pull requests

1 participant