Wei Wang

Results 33 comments of Wei Wang

Should be fixed with latest version right?

I think so, use `dest` config option.

That's `scope` you should concern about. In most cases you want it to be loaded from the root path, only when you want the pwa in subpath like `http://{url}/pwa/**/*` and...

That's by design of PWA. It gives user experience that people usually expect like an native app. If you want to show user the page where they left last time,...

There is a changelog: https://github.com/shadowwalker/next-pwa/blob/master/CHANGELOG.md

You are adding wrong event listener to waiting event, that one should used to prompt user, not handle click

@nilaeus Would you mind create a minimal reproduce repository? I will see what I can do.

To solve the problem, change the following line: https://github.com/nilaeus/blitz-next-pwa/blob/dc54eeb11500af71717c886884f47eb19bf14669/blitz.config.js#L27 ``` javascript dest: "public", ``` to this: ``` javascript dest: "../../../public", ``` The reason is that blitz.js changes the default build...

Related https://github.com/GoogleChrome/workbox/issues/2809#issuecomment-880208769

I added support range requests by default in `[email protected]`: https://github.com/shadowwalker/next-pwa/blob/4e7c1020f5c691b42f73ba15a3f96db2bae15115/cache.js#L64 Can you test if it works for you?