
PWA Invite Console
One small console for managing invitations and devices across private web apps.
A small update helper with an offline fallback for previously visited resources.
A small service-worker update helper for web apps, with a visible update notice and a guard for unfinished work.
Copy sw.js, sw-update.js and pwa-update.js into an app's web root and wire them up. There is no frontend build step or package dependency. The ZIP also has an example and optional server integration files.
A new service worker activates immediately. Visible pages can postpone reloading while work is unfinished; unresponsive clients reload after a short grace period. Adapt the reference cache policy before using it for private content.
isBusy): Responsive, visible pages can defer reloads while edits are unfinished; apps should save important drafts separately.