cdevroe / unmark

An open source to do app for bookmarks.
https://unmark.it
Other
1.6k stars 194 forks source link

Bug: Service Worker not deleting old caches or activating new workers #246

Closed cdevroe closed 5 years ago

cdevroe commented 5 years ago

Our implementation of Service Workers, introduced in 1.9.0, have a fatal flaw in how they expire old caches and activate new workers. This results in some funny behavior, such as making it appear as though new bookmarks are not being added or that archived bookmarks were not being archived. (They were, just the caches weren't expiring).

We're working on a fix that will be released as 1.9.2. It is going to be running on unmark.it today to verify that patch an then we'll submit a release here on Github when we've verified the fix works.