I’m trying to confirm if a Service Worker registration can disappear on Chrome under storage pressure and no Persistent Storage API call. It’s not simple to test; it’s clearer on the Cache Storage.
/cc @slightlylate @jaffathecake @cwilso
-
-
Basically, what
@wanderview said. The theory behind this design choice is that we don't understand half-an-app. We aren't able to identify stuff you might not need, so we evict at origin atomicity. -
It's the same reason to have Cache Storage in the first place. The assumption behind the shared HTTP cache is totally different. That cache isn't "owned" by the app, so the app can't make assumptions about its state.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.