Skip to content

Feature/pwa offline support#329

Open
Conorrr wants to merge 1 commit intoiib0011:mainfrom
Conorrr:feature/pwa-offline-support
Open

Feature/pwa offline support#329
Conorrr wants to merge 1 commit intoiib0011:mainfrom
Conorrr:feature/pwa-offline-support

Conversation

@Conorrr
Copy link
Copy Markdown
Contributor

@Conorrr Conorrr commented Mar 14, 2026

PWA Offline Support

Adds full PWA/offline capability via vite-plugin-pwa + Workbox.

Testable here: https://omni.restall.io/

Changes

  • Service worker (Workbox generateSW): precaches all built assets, fonts, and manifest
  • Runtime caching: StaleWhileRevalidate for i18n locale JSONs, CacheFirst for CDN resources (ffmpeg WASM)
  • Update prompt ReloadPrompt component shows snackbar when new version is available
  • Manifest enhancements added start_url, scope, id, description, non-maskable icon
  • Note some heavy resources (e.g. ffmpeg WASM ~30MB) are only cached after first use — they are not eagerly precached

Screenshots

Installable in Chrome + Firefox
image
image

Service Worker registered:
image

Installed:
image

Update prompt:
image

@Conorrr Conorrr force-pushed the feature/pwa-offline-support branch from 7a559d0 to 8ad01ba Compare March 14, 2026 11:11
…te prompt

- vite-plugin-pwa w/ Workbox for precaching built assets + fonts
- runtime caching for i18n locales (StaleWhileRevalidate) and CDN resources (CacheFirst)
- ReloadPrompt component for new version notifications
- enhanced site.webmanifest w/ start_url, scope, and non-maskable icon
@Conorrr Conorrr force-pushed the feature/pwa-offline-support branch from 8ad01ba to f3c2e1e Compare March 14, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant