Pwa-module: Workbox is precaching URLs without revision info

Created on 14 Oct 2020  路  9Comments  路  Source: nuxt-community/pwa-module

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?

Most helpful comment

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

All 9 comments

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

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

Still no way to fix it?

ping @pi0

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

Can confirm that the above release fixes it!

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/[email protected]/workbox/workbox-strategies.prod.js:1:1883)

@Jandoria please see https://github.com/nuxt-community/pwa-module/issues/176#issuecomment-665722983. 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..

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

manniL picture manniL  路  3Comments

akirarika picture akirarika  路  4Comments

Shuunen picture Shuunen  路  8Comments

joberthel picture joberthel  路  11Comments

homerjam picture homerjam  路  3Comments