Skip to content

feat(pwa): add offline service worker#6

Open
lspgn wants to merge 1 commit into
mainfrom
feat/offline-service-worker
Open

feat(pwa): add offline service worker#6
lspgn wants to merge 1 commit into
mainfrom
feat/offline-service-worker

Conversation

@lspgn
Copy link
Copy Markdown
Member

@lspgn lspgn commented Jun 2, 2026

Summary

  • add a service worker that caches the app shell for offline use
  • use network-first fetches so online customers receive deployed updates before cached fallback
  • register the service worker from the app and reload controlled pages when a new worker activates
  • include iOS standalone web app meta tags
  • deploy service-worker.js through the GitHub Pages artifact

Verification

  • node --check app.js
  • node --check service-worker.js
  • parsed manifest.webmanifest as JSON
  • verified service-worker app-shell entries exist locally

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