Skip to content

Recover browser-cached study redirects without clearing logins - #6

Merged
lalalune merged 1 commit into
mainfrom
codex/study-cache-recovery
Sep 15, 2026
Merged

lalalune merged 1 commit into
mainfrom
codex/study-cache-recovery

Conversation

@lalalune

@lalalune lalalune commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

Add an explicit cache-only recovery response at /study?reset-cache=1 for browsers that retained the earlier permanent /study redirect. Ordinary study requests remain unchanged. The recovery response clears the origin's HTTP cache without clearing cookies or local storage.

Validation: 45 tests pass and Wrangler dry-run passes. A real Chromium regression reproduced a cached 308, switched the server to HTTP 200, confirmed the stale redirect still occurred, visited the recovery URL, and verified plain /study worked while cookies and localStorage survived. The stale redirect was also reproduced in the user's existing Chrome session.

Deployed Worker version: ab9fc5d1-ee75-4092-9071-40be607785a1.

Verified recovery in the same existing Chrome session: plain /study initially landed on the company homepage; after loading the cache-only recovery URL, entering plain /study stayed at that exact URL and rendered the senior study page.

@lalalune
lalalune merged commit 01f44ce into main Sep 15, 2026
1 check passed
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.

1 participant