- Installable app: manifest, SVG icon plus PNGs (192, 512, maskable 512, apple-touch 180), theme color and iOS meta tags. - Service worker (production builds only): precaches the page and the bundles it references on install (Chromium's memory cache bypasses the worker on repeat loads), cache-first for hashed assets, network-first for the page and config.js so deploys land at once; ignores Vary (module scripts carry an Origin header). Uploads, the websocket and anything cross-origin are never touched. Checked in a production preview: worker controls the page, and the app opens offline. - Notifications fall back to the service worker where browsers require it (Android), which also handles the click. - `npm run preview` gets the dev proxy, so the installed app can log in locally. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3.5 KiB
180x180px
3.5 KiB
180x180px