workbox Questions

0

I've got an express server with a self-signed SSL which just serves assets for SPA frontend. When i visit https://localhost:8433 application stats up and successfully fetches all requried assets. H...
Mylohyoid asked 15/7, 2018 at 19:36

1

Solved

I'm using Workbox 3.0 (webpack-plugin) and Laravel Mix (5.6) to auto-generate a ServiceWorker file. When running the webpack compiler, the manifest file generated by Workbox for pre-cached assets l...

1

Context I have a SPA that use webpack, vueJS and Workbox. In the service-worker, I have the following lines (): workbox.precaching.precache([ '/index.html' ]) workbox.routing.registerNavigation...
Intermittent asked 24/5, 2018 at 9:48

2

i need to "purge" or "invalidate" Workbox SW cache after every release. that's what i plan to do (dummy version of course), but i haven't enough experience to understand if this is the correct app...
Divestiture asked 29/1, 2018 at 10:58

1

Solved

It doesn't seem like workbox cleans up old caches. For example, if I specify a cache version like this: var version = 'v2'; workbox.core.setCacheNameDetails({ suffix: version }); ...I would hav...
Yeryerevan asked 7/4, 2018 at 7:56

1

Solved

Am using workbox-build-2.1.2 and workbox-sw-2.1.2 with Angular-cli-1.6.0, and everything works fine, but when I update the App and build it for production and the sw.js file is modified then in chr...
Radu asked 8/12, 2017 at 3:54

1

Solved

I use Workbox to pre-cache assets required to render the app shell, including a basic version of index.html. Workbox assumes that index.html is available in cache, otherwise, page navigation fails ...

1

Solved

According to workbox doc, cross domain request should be configured to ensure that regular expression matches the beginning of the URL. However, it doesn't work. The service worker code is like be...
Ghiberti asked 15/3, 2018 at 9:32

1

Solved

I added a few workbox.routing.registerRoute using staleWhileRevalidate to my app and so far it has passed most lighthouse tests under PWA. I am not currently using Precaching at all. My question is...
Nameless asked 6/3, 2018 at 21:9

1

I'm working with workbox-sw and workbox-webpack-plugin My src sw.js file at root folder (same level with my .env file) How can I get env variables and accessing it into my src sw.js file This is ...

1

Solved

I'm playing around with workbox but I am getting the following error: Skipping file 'app.js' due to size. [Max size supported is 2097152, this file is 4760833] I understand why it would do this ...
Capital asked 17/10, 2017 at 16:59

1

Solved

I am using workbox runtime caching to cache external calls (materialize.css is one of those). In my network tab it shows that the request is coming from serviceWorker (looks fine): But on cache ...

1

I'm new to service workers, and I'm using Workbox to precache my app shell and cache my api data. The precaching of assets is working correctly, with the cache being created and populated. The ru...
Metternich asked 13/8, 2017 at 17:16

© 2022 - 2024 — McMap. All rights reserved.