-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
frontendRequires experience with HTML/JS/CSSRequires experience with HTML/JS/CSSplease-testReady for acceptance testReady for acceptance testsecurityImpact on server or browser securityImpact on server or browser security
Description
In order to eliminate insecure legacy dependencies, our PWA must transition from @lcdp/offline-plugin to workbox-webpack-plugin:
- The webpack build adds a production-only
GenerateSWplugin that writessw.js, precaches hashed bundles understatic/build/, excludes.map,.txt, andassets.json, and limits precached file size to 5 MiB. - Runtime registration in
frontend/src/app.jsnow registers the Workbox service worker whenevernavigator.serviceWorkeris available, deriving both scope and URL from$config.baseUri, so non-root deployments are supported by default. - No backend changes are required.
Metadata
Metadata
Assignees
Labels
frontendRequires experience with HTML/JS/CSSRequires experience with HTML/JS/CSSplease-testReady for acceptance testReady for acceptance testsecurityImpact on server or browser securityImpact on server or browser security
Type
Projects
Status
Preview 🐳