Comment by mircerlancerous
Comment by mircerlancerous 3 days 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.
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.