kiwix / kiwix-js-pwa

Kiwix JS Offline Browser implemented as a Progressive Web App (PWA), and packaged as Electron, NWJS and UWP apps for Windows and Linux.
https://pwa.kiwix.org
GNU General Public License v3.0
168 stars 26 forks source link

When auto-switching from Restricted mode to SW mode on load of new ZIM, cached last page sometimes overwrites new ZIM landing page #589

Closed Jaifroid closed 3 months ago

Jaifroid commented 3 months ago

This has surfaced due to work on #588, but it is a separate issue, and I have occasionally seen it independently. Now that such switching is much more likely, it needs to be properly debugged. It's quite a serious bug because only a reset will prevent the cached last page from the old ZIM from overriding almost any page load in the new ZIM.