Html 5 look really promising and have a lot of cool features for developers, reading a bit about it I came across the Local Storage, I read that is is a much better way to store data than Cookies. I have a couple of questions about it, there they go:
How does the Storage store the information? I mean, is it a physical file in the system like Cookies were?
What does it make it better than Cookies?
Is it possible to delete this data? This question goes in both directions as developer and user, I mean, is it possible to programatically delete the data and as a user can I delete local data as I am able with individual cookies?
The main advantage local storage has over cookies is that the data doesn't get sent along with each HTTP request and response, saving you many bytes in network load and improving performance. How local storage is implemented depends on the browser, Firefox sticks them all into a SQLite database as far as I'm aware. As a user, a browser should provide an interface to clear stored data for any particular site. As a developer, there's a removeItem method.
I doubt it, Firefox stores nearly everything in SQLite databases, including cookies I think. If filesytems were faster than databases, what would be the point of databases?
At this point I should make sure you're aware: I'm not an expert in writing browsers, or even filesystems vs databases, so someone could come along and point out I'm wrong any minute, but this is the impression I got from different defects I glanced through in Bugzilla over recent years. Mozilla have been pushing a lot of their stuff into SQLite instead of using custom storage solutions.