Monorepo for Aesthetic.Computer aesthetic.computer

ios + sw: bypass cached disk.mjs after deploys master

iOS app: - Wipe WKWebsiteDataStore disk/memory/fetch caches and unregister stale service worker registrations on every WebView creation. Cookies, localStorage, and IndexedDB are preserved so the user stays logged in. - Load the top-level URL with .reloadIgnoringLocalCacheData so the initial request bypasses any leftover URL cache. Without this, the in-app webview kept serving disk.mjs / bios.mjs from the SW's stale-while-revalidate cache for up to an hour after a deploy, which is why fresh telemetry/rotation fixes weren't reaching the phone. sw.js: - Bump CACHE_NAME ac-modules-v5 → v6 so existing browser SWs evict the pre-fix disk.mjs (which had the wrong piece-log payload shape) on next page load. Helps web users + the iPhone before its app update.


+30 -4
2 changed files