Possible Duplicate:
What is the max size of localStorage values?
I’m looking at making a little lib that treats localStorage more like a DB in where 1 key will be 1 “table”, and it’s records will be objects that I strignify via JSON and separated by /r.
This means that the data in 1 key could get fairly big. So my question is, how much data can you store in 1 key.
I don’t believe there is a limit to the size of data that can be stored in a single key. There are however browser-specific (and sometime configurable) limits to the overall storage allocated to a domain. 5MB is the standard here, though implementations vary.