News for hackers. Stuff that matters.
Re:LocalStorage or WebSQL unexpectedly cleared by kmlx on Sunday December 15, 2019 @03:33PM (#21798793)
of course not everything should be backed up to the cloud. but if it's important and only available on your phone, then yes please back it up, or better yet, have it up there in the cloud.

regarding your comparison between a windows folder and localstorage feels a bit exaggerated.

yes, the Chrome team really fumbled it. and yes localstorage and important data should be mutually exclusive.

Re:LocalStorage or WebSQL unexpectedly cleared by tsimionescu on Monday December 16, 2019 @01:01AM (#21801092)
You're right that important data needs to be backed up, but I disagree that it is the app builder's responsibility to do that. It is the end-user's responsibility to think about backups, to choose where to backup and how often. From the app developer's perspective, it is commendable that, in this day and age, they allowed users to retain control of their own data, instead of automatically uploading the user's data to the developer's server.

Local storage and/or SQL DB were touted as features for exactly this use case. That Google did not consider their persistence as that important for the release is perhaps not surprising for a company used to storing all your data in their cloud (not claiming they did so knowingly, just that it's probably in their culture, just as in your comments above).

Re:LocalStorage or WebSQL unexpectedly cleared by kmlx on Monday December 16, 2019 @04:30AM (#21801875)
interesting take. i agree with it in spirit.

but unfortunately i don't think your average user has any idea about what you wrote.

Re:LocalStorage or WebSQL unexpectedly cleared by jessaustin on Monday December 16, 2019 @06:51AM (#21802400)
...localstorage and important data should be mutually exclusive.

It seems like we could say "don't trust this" about any aspect of any platform. Categorizing every application as "really important, don't update the UI until securely written to three AZs" and "totally ephemeral purge every minute" excludes a lot of stuff in the middle. Sure, nothing made by humans is perfect, but many things could be improved. One improvement to localstorage would be to simply not delete all the data.