Roaderly logo

Sign-out now forces a full service worker and cache cleanup

Shipped
LH

Linnea Halvorsen

Signing out used to occasionally leave you on a stale 404 or briefly show the previous user's dashboard if you signed back in quickly. The root cause was the service worker holding the route table and a few cached responses after the session cookie was cleared.

Sign-out now force-unregisters the service worker, flushes the cache APIs, and clears any precached offline pages — all in the same operation as the cookie clear. The class of "I signed out but the previous state is still showing" bugs is gone.

May 5, 2026

Activity feed

  • ML
    Mei Ling

    The "I signed out but my data is still showing" bug was a real source of confusion when sharing a demo machine. Glad the SW flush is now part of sign-out.

    May 10, 2026

    Replay

  • Daniel Walker
    Daniel Walker

    Subtle but correct. Most teams get this wrong and ship a sign-out that "works most of the time".

    May 9, 2026

    Replay