Settings

Theme

Service Workers are too hard to clean-up (2023)

github.com

2 points by 9d 8 months ago · 2 comments

Reader

9dOP 8 months ago

The one point here that's relevant to me is that if you use a service worker and then redesign your web app so that it's no longer needed, now you need to host code that removes the service worker, and you can never remove that new code, because there may be users with the sw installed who don't revisit for years.

Service workers should have an auto expiration. Maybe a month or so.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection