NoCacheStatus
Default export “No Cache” footer control with a single 🧹 action that performs full client reset (no page-cache inspection).
clearAllCaches sequence
signOut({ redirect: false, callbackUrl: '/' })— continues on failure.- Optional
navigator.storage.estimate()logging. - Unregister all service workers.
caches.deletefor every cache name.localStorage.clear(),sessionStorage.clear().- Clear all cookies for current host/path variants.
deleteNonPreservedIndexedDatabases()— preserves user radio custom sources.- Best-effort WebSQL /
applicationCachecleanup. - Re-register
/sw.jswithupdateViaCache: 'none', wait foractive. window.location.replace('/')after 1s (error path same fallback).
UI
Shows “No Cache” with live indicator; button disabled while isClearing.
Auth
Uses next-auth/react signOut only (not performSecureLogout from security module). Complementary to dev/support tooling, not the production secure logout path.
Exports
export default NoCacheStatus.
Sources: src/app/components/cache-status/NoCacheStatus.tsx