workbox Questions

1

Solved

I am trying to see the request the browser does to get the service worker implementation, but it doesn't show at all. I know for sure that my app has a working service worker, but I would like to b...
Ligon asked 9/6, 2022 at 19:14

7

Very simply, I would like to disable the display of the repeated workbox messages that appear in my browser console while I am debugging. For instance, I don't need to see: WorkBox: Using NetworkF...
Incidentally asked 12/6, 2019 at 18:2

4

Solved

I migrate from v4 to v5 of webpack-workbox-plugin but when I try to build, I got error: ERROR in Can't find self.__WB_MANIFEST in your SW source. Child InjectManifest: Asset Size Chunks Chunk Nam...
Ending asked 2/3, 2020 at 14:38

1

I have a laravel (inertia/vue) app (that used laravel-mix until recently) with a pwa feature that I built up using pwa builder and workbox. Following the change from laravel-mix to vite in the lara...
Monolayer asked 17/8, 2022 at 13:28

2

Solved

I had the sw.js which receive webpush notifications. But recently I intalled vite-PWA-plugin and now i can't add notifications by default config. How can i configure this vite.config.ts to add to g...
Sportsmanship asked 11/4, 2023 at 17:51

2

Solved

I'm new to SvelteKit and trying to find out how to load the Google client library for Javascript. Google tells me to do it like this: <head> <script src="https://apis.google.com/js/a...
Tradeswoman asked 3/1, 2022 at 18:56

6

Any idea how to disable these console.log messages from workbox in a NextJS project?. I just started a new repo and it is just giving me too much information I don't need now
Chosen asked 29/1, 2021 at 10:8

2

Is there a way in which a web manifest can be localised? i.e. having multiple translations of name, description etc... I have thought of a couple of potential solutions but they each have pretty b...

2

I am creating a React App using the Create React App utility and I want to override the default service worker that it provides. Since I don't want to eject my app, I am using the workbox-build pa...
Tophole asked 10/12, 2019 at 16:54

2

we would like to build a fully offline capable react web application. We usually work with NextJS. The current problem that we are facing is that we are not able to precache all routes of the appli...

2

Following Google Workbox instructions, the first thing I am told I should include in serviceWorker.js is: importScripts('https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js'); ...
Emmalynne asked 19/11, 2019 at 14:36

1

I want to make a single-page application available for offline. So I want to use a PWA Service Worker in my Vue webapp and use typescript and workbox for it. I followed the examples from https://vi...
Trixi asked 17/3, 2022 at 19:11

1

Solved

I'm on Nuxtjs 2.15.7 and recently getting this error in my console as I searched, only got to @nuxt/pwa issue . But I don't have pwa module in my project!! here is my package.json { "name&q...
Clarendon asked 12/9, 2021 at 6:59

2

This issue only happens in production on Netlify. It doesn't present itself in the development environment. Usually, I lurk and search to find the answer, or put something together from related an...

3

Solved

I'm trying to set up a simple Service Worker for a small static site, but I get a service worker console error: sw.js:59 Uncaught TypeError: workbox.expiration.CacheableResponsePlugin is not a cons...
Ovenware asked 19/2, 2020 at 22:46

0

I include new GenerateSW({ maximumFileSizeToCacheInBytes: 6000000 }), in the plugins of my webpack config but receive this warning when running lighthouse on my website. Web app manifest or se...

2

Solved

Using Workbox in a service worker in a javascript webapp. Want to clear the entire workbox/application cache of all content... basically go back to a state as similar as possible to the state befor...
Nanananak asked 26/1, 2019 at 7:0

2

Solved

I'm using workbox with webpack to generate a service worker. With the following code in webpack.config.js: new WorkboxPlugin.InjectManifest({ swSrc: "./src/sw.js" }), a service worker is gener...
Equilibrate asked 26/5, 2018 at 2:57

1

Requirement: I am trying to use service worker and cache static files so as to have a benefit to reduce HTTP requests and make the site performance better.  Down the lane I would switch to offline,...
Nananne asked 11/9, 2020 at 6:11

1

I am using workbox-build for Gulp in my django project. All works correct, but there are some problems with admin urls. As I see, /admin/* urls caching in runtimes - I can see them in Chrome DevToo...
Antaeus asked 16/3, 2019 at 9:39

1

Solved

I am using service worker and precache assets in install event. I also have fetch listener which intercepts requests and caches then at runtime dynamically. I know that people say to use indexeddb...
Breadroot asked 14/2, 2020 at 11:22

1

In our project we are using webpack-dev-server to run our development environment. We are currently transforming the project into a progressive-web-app using workbox. When we run webpack with NODE...
Weatherspoon asked 13/12, 2017 at 14:37

2

Solved

Some initial considerations: "react": "^16.8.2", "react-scripts": "2.1.5" I have created a new react app and I need to implement Push Notifications. Following this tutorial, I was able to get up...
Hubbub asked 19/2, 2019 at 15:58

1

Solved

I have implemented a service worker for my website. However I am not sure about the expiration setting on this. Am currently using Nextjs for page rendering and Workbox with Apollo for data mangeme...

2

Solved

We're building a SPA for an internal application at work, specifically we're building a PWA that is supposed to be offline-first. At the moment, we're doing just fine when someone reloads the p...

© 2022 - 2024 — McMap. All rights reserved.