Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workbox is precaching URLs without revision info #375

Closed
RauppRafael opened this issue Oct 14, 2020 · 9 comments
Closed

Workbox is precaching URLs without revision info #375

RauppRafael opened this issue Oct 14, 2020 · 9 comments

Comments

@RauppRafael
Copy link

Hi, after installing this module to my project the following warning is logging to my console:

workbox-precaching.prod.js:1 
Workbox is precaching URLs without revision info: /?standalone=true
This is generally NOT safe. Learn more at https://bit.ly/wb-precache

How can I fix it?

@xrei
Copy link

xrei commented Oct 20, 2020

Same here. because of it pwa gets cached version instead of server-rendered one.

@RauppRafael
Copy link
Author

@pi0 can you take a look at 27e19a0 to fix this warning?

@theoludwig
Copy link

Still no way to fix it?

@fabiofdsantos
Copy link

ping @pi0

@pi0
Copy link
Member

pi0 commented Nov 30, 2020

please try 3.3.x (https://github.com/nuxt-community/pwa-module/releases/tag/v3.3.0)

@pi0 pi0 closed this as completed Nov 30, 2020
@jengel3
Copy link

jengel3 commented Nov 30, 2020

Can confirm that the above release fixes it!

@Jandoria
Copy link

I don't get the console errors anymore but I still get this one from Lighthouse:
no-response: no-response :: [{"url":"myurl"}] at Object.handle (https://cdn.jsdelivr.net/npm/workbox-cdn@5.1.4/workbox/workbox-strategies.prod.js:1:1883)

@pi0
Copy link
Member

pi0 commented Nov 30, 2020

@Jandoria please see #176 (comment). There are many reasons no-response happens. It is basically when workbox cannot fetch the remote endpoint. If you have a public deployment i can try to investigate more..

@Jandoria
Copy link

Sorry @pi0, I didn't see your response. I just tried with workbox clientsClaim: false and it worked for me. Thank you! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants