Skip to content

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

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

Merged
merged 6 commits into from
Jul 17, 2024

Conversation

tewaro
Copy link
Contributor

@tewaro tewaro commented Jul 17, 2024

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.
@tewaro tewaro requested review from a team as code owners July 17, 2024 18:55
@tewaro tewaro requested review from mikea and fhanau July 17, 2024 18:55
@tewaro tewaro force-pushed the jsnell/http-request-cache-part1 branch from 9ff4198 to fa9c5a0 Compare July 17, 2024 19:45
@tewaro tewaro requested a review from jasnell July 17, 2024 21:38
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