(no title)
no_gravity | 5 years ago
If PWAs would get their own permanent storage like other apps, it would be a huge step forward.
no_gravity | 5 years ago
If PWAs would get their own permanent storage like other apps, it would be a huge step forward.
burtonator|5 years ago
One of the issues is that storage in a PWA is done via localStorage or IndexedDB... both of which aren't really available outside of the browser.
Also, part of the benefit of a PWA is being able to be in mobile devices and 'storage' there is different than on the desktop.
judah|5 years ago
PWAs usually store client-side data as a kind of cache: cookies, local storage, service worker cache. Caches are not meant to be permanent.
There may be room for improvement here, however. One might imagine that clearing browser data shouldn't clear data for installed PWAs. That's an argument worth further evaluation.
streptomycin|5 years ago
"Why did all my data get deleted? How can I get it back?"
and
"Why is it saying the browser won't let me store more data?"
The user's desires are pretty clear in both cases, but it's very unclear how the user can get what they want.
no_gravity|5 years ago
Not being able to reliably store data on the device means that PWAs have to send the users data over the internet and store it on an external server. I would think users rather do not like that.
I am only talking about installed PWAs here. Of course not every website should be able to avoid having its cookies deleted.
notatoad|5 years ago
i mostly agree, but the user experience isn't there yet. browsers make it easy to delete all data, but don't have any workflows that encourage deleting the data from only a single app. at this point, it seems less about empowering users to have control over their own data and more like browsers just don't care about PWA data.
davrous|5 years ago
dmitriid|5 years ago
I see from the link that Chrome is already doing an "origin trial" even if the spec itself isn't complete. So, why would it be "released more broadly". Or is it the Constructible Stylesheets again? When both Safari and Mozilla said "no", but Chrome released them anyway?
kinlan|5 years ago
judah|5 years ago
kinlan is referring to this web API[0], which allows a PWA to store data persistently.
[0]: https://web.dev/persistent-storage/
unknown|5 years ago
[deleted]
ta17711771|5 years ago
bob1029|5 years ago