Hi,
Just as I thought. Apple DID kill local storage and sql db as follows:
One of the things I have admired about Apple has been their commitment to supporting web standards, or at least interpreting the recommendations intelligently and in the spirit of the W3C’s good intentions.
With the most recent release of iOs, version 5.1 (and in previous beta and developer releases since 5.0) they have purposefully hobbled one of the most useful features in the recent set of recommendations... Localstorage.
In iOS 5.1 Apple have moved the location of localStorage files into a Caches folder which is subject to occasional clean up, at the behest of the OS, typically if space is short. It is likely that Apple have done this to stop localStorage being backed up to iCloud.
Webkit on iOS no longer has persistant localStorage
By moving localStorage to the Caches folder, they have allowed localStorage to be cleaned up whenever iOS wishes.
Persistance is one of the two things that the localStorage recommendation makes explicit, even if by obvious implication....
“User agents should expire data from the local storage areas only for security reasons or when requested to do so by the user.”
Regards,
Frank