Service worker fully flushes on sign-out
ReleasedTomislav Babic
One more layer of the sign-out cleanup: when you sign out, the service worker now force-unregisters, the cache APIs flush, and any precached offline pages get invalidated alongside the session cookie.
This is the change that finally kills the class of bugs where users would sign out, sign back in as a different user on the same browser, and briefly see a flash of the previous user's data because the service worker was still serving cached responses.
If you share a browser with someone (designer + dev pairing, a demo laptop, a customer-success terminal), this is the change that lets account switching feel safe.
May 5, 2026
Activity feed
- MJMeera Joshi
Unregistering before clearing the cookie is the right order. Subtle but correct. Avoids the window where a stale worker could serve cached responses to a logged-out user.
May 20, 2026
•Replay
Elena VasquezWe share a browser at the office during demos. The "I signed out but the previous user is still showing" bug was a constant source of awkwardness. Glad to see it gone.
May 17, 2026
•Replay