Service Workers always available #727
aarongustafson
started this conversation in
Wants
Replies: 3 comments
-
There are ways of keeping |
Beta Was this translation helpful? Give feedback.
0 replies
-
@jungkees @jakearchibald Thoughts on this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@aarongustafson This place is still alive? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The Service Worker API is regularly unavailable in cases where a user refreshes a page, or privacy modes are enabled.
Service Workers have uses beyond caching:
fetch('midi.local/ch1/patch')
, and maybe the Service Worker goes and does the actual MIDI work)We can't rely on any of these things today because Service Workers are often simply unavailable.
Rather than disabling the Service Worker in privacy mode, or on refresh, it makes more sense to disable its storage. That way, all of these other alternative use cases can still work.
Beta Was this translation helpful? Give feedback.
All reactions