Private
Public Access
PAGES_CACHE held every cached navigation response (including authenticated article pages) with no logout-time purge, so a later offline navigation on a shared or account-switched device could still serve another user's cached pages. Logout is a plain POST, so the fetch handler now special-cases that request: it deletes PAGES_CACHE and lets the real logout request through, with no race against the navigation that follows since it's synchronous with the same request. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>