workbox
workbox copied to clipboard
π¦ Workbox: JavaScript libraries for Progressive Web Apps
Hi, I realized recently (while doing a dependency upgrade) that `workbox-build` depends on `workbox-window` and I'm not sure why. My understanding is that `workbox-build` generates service worker files while `workbox-window`...
**Prior to creating a pull request, please follow all the steps in the [contributing guide](https://github.com/GoogleChrome/workbox/blob/v6/CONTRIBUTING.md).** R: @jeffposnick @tropicadri Fixes N/A This fixes a type documentation issue where `navigateFallback` is being...
**Library Affected**: _workbox-strategies_ We currently have code for a "cache and network race" strategy [in our docs](https://developers.google.com/web/tools/workbox/modules/workbox-strategies#custom_cache_network_race_strategy). The entirety of it looks like: ```js import {Strategy} from 'workbox-strategies'; class CacheNetworkRace...
For my case, I'm using ```GenerateSW``` mode for ```workbox-background-sync``` which my webpack.config.js look like this: ```pwa: { workboxPluginMode: 'GenerateSW', workboxOptions: { cacheId: 'pwa-sample', swDest: 'service-worker.js', clientsClaim: true, skipWaiting: true, runtimeCaching:...
This is a placeholder PR to document some of the WIP code for migrating our integration test suite off of `selenium-assistant` and onto Playwright. Much of this is based on...
**Library Affected**: _workbox-sw **Browser & Platform**: Chrome **Issue or Feature Request Description**: I thought it would request resources when the main thread is idle. ![ζͺε±2022-07-14 δΈε3 20 57](https://user-images.githubusercontent.com/19382362/178945916-2bd35950-183c-465a-acfd-8f0d2c89b17b.png) I have...
The `workbox-sw` package that's published to npm is of very limited usefulness; it's primarily loaded via `importScripts()` using our "official" CDN URLs, like https://storage.googleapis.com/workbox-cdn/releases/6.4.2/workbox-sw.js Third parties, like the Nuxt community,...
If I always have to wait for the full installation of the service worker before the page is displayed, why not to tell the service worker that assets can be...
**Library Affected**: [vite-plugin-pwa](https://github.com/antfu/vite-plugin-pwa) **Browser & Platform**: "all browsers" - most prevalent on Chrome and Chrome Mobile. (70% of cases) "all platforms" - error seems to be most prevalent on Windows...
**Library Affected**: [email protected] (npm) **Browser & Platform**: All **Issue or Feature Request Description**: Dependabot is reporting the following alert for a dependency of workbox-cli: 'got' (npm) allows a redirect to...