3 ms·
Apple taught this lesson a few years ago, when iOS 5.1 changed the local storage location: https://phonegap.com/blog/2012/04/18/ios-5-1-and-the-embedded-uiwebvi
by kbutler 7y ago
Apple taught this lesson a few years ago, when iOS 5.1 changed the local storage location: https://phonegap.com/blog/2012/04/18/ios-5-1-and-the-embedded-uiwebview-with-cordova/ https://phonegap.com/blog/2012/04/18/ios-5-1-and-the-embedde...
But this behavior is within the range of spec compliance: "User agents may, possibly in a manner configured by the user, automatically delete stored data after a period of time." https://www.w3.org/TR/webdatabase/#privacy https://www.w3.org/TR/webdatabase/#privacy https://www.w3.org/TR/webstorage/#user-tracking https://www.w3.org/TR/webstorage/#user-tracking
So these browser storage mechanisms must be considered cache, not primary storage of important data.
- finaliteration 7y ago> So these browser storage mechanisms must be considered cache, not primary storage of important data. Maybe I’m an exception, but I’ve always viewed these storage mechanisms as unreliable. I primarily use them for storing things like user filter settings on a list view. It never even occurred to me to use them for anything critical.