Closed jayaddison closed 4 years ago
I've been able to reproduce a similar and perhaps same-root-cause issue in Google Chrome 83; it's initially proving easier to use Chrome for this investigation thanks to the developer tooling available for service workers in that browser.
The sequence of actions appears to be:
Not 100% certain yet, but it looks like this may be related to https://github.com/GoogleChrome/workbox/issues/2525
Describe the bug From user feedback: when viewing the app using Firefox 78.0.2 on Ubuntu, a browser pop-up appears saying that the app has been updated. Refreshing and reloading the page doesn't apply the update; the pop-up continues to reappear.
Dev Notes / Expected behavior This pop-up is part of the service worker code which is responsible for detecting updates to the application and reloading the page when one is detected.
The expected behaviour is that once the page reloads, the user's browser should pick up the new version of the application.
It's likely that browser content caching and/or bugs in the service worker code are the root cause.