Repository navigation
Conversation
This was referenced Nov 15, 2026
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.
Scope
Enable Workers HTTP caching before the existing OpenNext worker with a fail-closed response wrapper. No new TTLs, paid plan, billing, logs, IP blocks, or visual changes. Cross-version cache remains off.
Safety
Only allowlisted public GET/HEAD 200s with explicit positive shared TTL. Reject cookies/auth/set-cookie/private/no-cache/no-store/unknown routes/non-200s. Preserve Next HTML/RSC/prefetch variants, credentials and Host in Vary. The same 35 policy tests run during build.
Qualification
35 unit tests, source lint (8 preexisting warnings), Next/OpenNext builds pass. A bounded temporary preview tested current production public response bytes without copying a runtime credential: MISS/HIT, HTML/RSC/prefetch separation, HEAD, cookie/auth bypass, unknown 404, and Host separation passed. All preview Workers, bindings and preview DO namespaces deleted and verified. A standalone unauthenticated cold renderer receives GitHub403; that path is NOT claimed as qualified. This is repeat-load relief, not a promise of cold-render CPU compliance.
Release gate / rollback
Draft until request allowance assessment and final review pass. Font build reliability landed separately in #7. Rollback: revert this PR or restore the prior deployment with caching disabled; no data migration.