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

Fix cache logic #135

Merged
merged 7 commits into from
Dec 21, 2022
Merged

Fix cache logic #135

merged 7 commits into from
Dec 21, 2022

Conversation

arichiv
Copy link
Collaborator

@arichiv arichiv commented Dec 16, 2022

As written, the cache is append only. This is incorrect as, with any Accept-CH header set, the entire cache should be overwritten with the new contents.

#134 (comment)


Preview | Diff

As written, the cache is append only. This is incorrect as, with any
Accept-CH header set, the entire cache should be overwritten with the
new contents.

#134 (comment)
@arichiv arichiv requested a review from yoavweiss December 16, 2022 19:18
@arichiv arichiv self-assigned this Dec 16, 2022
index.bs Outdated Show resolved Hide resolved
index.bs Show resolved Hide resolved
index.bs Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
Co-authored-by: Mike Taylor <[email protected]>
@arichiv arichiv requested a review from miketaylr December 20, 2022 20:31
Copy link
Collaborator

@miketaylr miketaylr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM w/ nits addressed (and maybe renaming the first algorithm).

index.bs Outdated Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
@arichiv arichiv merged commit ce95f52 into main Dec 21, 2022
@arichiv arichiv deleted the overwrite branch December 21, 2022 21:30
github-actions bot added a commit that referenced this pull request Dec 21, 2022
SHA: ce95f52
Reason: push, by arichiv

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
domenic pushed a commit to WICG/nav-speculation that referenced this pull request Jan 18, 2023
The "Client Hints Infrastructure" specification updated its cache logic in WICG/client-hints-infrastructure#135. This contains the corresponding updates for prerendering.

Closes #232.
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