4 ms·
Service workers allow you to control cache in web apps; you may be a bit out of date. There are hardware APIs for some stuff that only works in native (cors, r
by mircerlancerous 8mo ago
Service workers allow you to control cache in web apps; you may be a bit out of date.
There are hardware APIs for some stuff that only works in native (cors, raw tcp), but 99% of apps don't need those.
- benkaiser 8mo agoI think the parent may be referring to the fact that safari/webkit will evict all localstorage/indexeddb/caches etc after 7 days of not visiting a site. And apparently this now extends to PWAs making it a pretty big blog to building any infrequently accessed PWA that needs to persist user data locally.
- mircerlancerous 8mo agoI store my data in the service worker cache, so I guess I'm immune to this issue