Closed evliu closed 4 years ago
I think it should be possible to share the same scope in the whole webpage, and create a single DownZip object that is used globally. This way, only a single service worker would be registered and shared across all implementations of a zip download.
one config I can think of is for an app that has routing, serviceWorker scope should be defined at the base level