Trouble after deploy app new version with PWA #16811
-
Hey everyone, I'm currently facing an issue with my Progressive Web App (PWA) whenever I deploy a new update to my web application. The problem arises during the first load after the update, where I encounter a 404 error for my build files. Upon reloading the app, it successfully reflects the updated version. I suspect that the service worker might take some time to update, but the main concern is why it attempts to access the old versions on the initial load, which should ideally be cached. I've spent considerable time investigating this issue, but I'm struggling to understand why it isn't retaining the old version. Some additional information that might be useful:
My quasar.conf file:
Any insights or guidance would be greatly appreciated! Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@matheus-foscarinid did you find out what caused it? |
Beta Was this translation helpful? Give feedback.
My bad, I forgot to add an update here. Yes, took us some time to figure out but basically our css minifying was passing the caching limit for PWA. We fixed the issue with this config
maximumFileSizeToCacheInBytes
, we have an open issue to take a look why the generated css file was so big.