HTML5's localStorage
WebStorage has a maximum size of 5MB.
Does this include the key names?
For instance, if I were to use key names "quite-a-long-key-name-and-this-is-only-1"
instead of "key1"
, would I run out of space sooner?
On a slightly related topic; is there any de-facto convention for naming localStorage
keys?
How are namespace collisions prevented when using third party JS scripts?