You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello I don't know well about how Service Worker works, I'm using vite-plugin-pwa for simplicity, but I think something is not quite right here.
What caught my attention was this:
Some resources are retrieved from the memory cache and not from the Service Worker. So I checked sw.js generated by the plugin and here's what I found:
Some revision fields are null, those are files naturally generated from the builds, and I'm not doing anything fancy in my vite config :
All assets generated by Vite will not have revision, every time you change something, the name will change, only static assets names will have a revision.
Hello I don't know well about how Service Worker works, I'm using
vite-plugin-pwa
for simplicity, but I think something is not quite right here.What caught my attention was this:
Some resources are retrieved from the memory cache and not from the Service Worker. So I checked
sw.js
generated by the plugin and here's what I found:Some
revision
fields arenull
, those are files naturally generated from the builds, and I'm not doing anything fancy in my vite config :https://github.com/vdegenne/symbols-font-composer/blob/77605f4b8c9cb5a0f7dabc412926a3c622282bfb/vite.config.js#L89-L118
(The whole project source is available where the file above is)
Is this a real issue? and if yes, what could be the reason?
The text was updated successfully, but these errors were encountered: