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

Redoing "#2073: Update Request to support cache option" with compat flags #2409

Merged
merged 6 commits into from
Jul 17, 2024

Conversation

AdityaAtulTewari
Copy link
Contributor

RM-18292

Updates the Request object to support specifying a cache mode per the standard. Only undefined, 'no-store' and 'no-cache' may be specified, and the fetch implementation specifically does not implement the semantics for either 'no-store' or 'no-cache' yet.
Also adds the compatibility flag for cacheHeaderEnabled. This just lays the ground work for the additional changes.

The next step is to start adding the support for adding the appropriate header fields in the fetch implementation behind an autogate.

jasnell and others added 3 commits July 17, 2024 13:38
Updates the Request object to support specifying a cache mode per
the standard. Only `undefined`, `'no-store'` and `'no-cache'` may
be specified, and the fetch implementation specifically does not
implement the semantics for either `'no-store'` or `'no-cache'` yet.
This just lays the ground work for the additional changes.
Co-authored-by: Dominik Picheta <dominik@cloudflare.com>
Co-authored-by: Dominik Picheta <dominik@cloudflare.com>
src/workerd/api/http.h Outdated Show resolved Hide resolved
src/workerd/api/http.c++ Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants