top | item 46812381

(no title)

mircerlancerous | 1 month 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.

discuss

order

benkaiser|1 month ago

I 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|1 month ago

I store my data in the service worker cache, so I guess I'm immune to this issue