Repository navigation
Replace pages cached without the manifest link - #402
Merged
Merged
Conversation
Pages that link the web app manifest now carry an ETag that differs from the uploaded file. A browser that cached a page before it linked the manifest gets the linked page instead of a 304 for its old copy, so the app becomes installable without a change to its HTML.
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
widefleet-docs | cbd1cae | Nov 25 2026, 02:46 PM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
"<hash>-manifest"instead of the uploaded file's"<hash>".200and can install the app. Previously it received304and kept its copy without the link for as long as the file stayed unchanged, so redeploying an app with unchanged HTML did not make it installable for returning visitors.304.Checks
RUN_DYNAMIC_TESTS=1runtime suite on pinned celld (24 passed), extended with the old-ETag and new-ETag revalidation cases.RUN_CLOUDFLARE_TESTS=1runtime suite in workerd (73 passed).pnpm check.

Confidence Score: 5/5
The PR appears safe to merge; the previous cache issue is fixed.Summary
HTML assets use a separate ETag for pages eligible for the manifest link, so browsers replace older cached copies.
Reviews (2) · Last reviewed commit: "Choose the page ETag after header rules" · Reviewed by Greptile