Comment by mircerlancerous

Comment by mircerlancerous 3 days ago

2 replies

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 3 days 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 a day ago

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