Hacker News new | ask | show | jobs
by empire29 5835 days ago
Anyone know of size limitations on this storage? I am in the middle of writing a jQuery plugin and storing data in cookies which have the 4KB size limitation (which resulted in me having to "chunk" the data across several cookies). This looks like the perfect alternative!
4 comments

I think Safari defaults to 10MB, though I may have changed it and forgotten doing so.
Be careful, there's a limit on how many total cookies you can have per domain too.
also be aware that data is getting submitted to your domain on every request -- not great for performance
Usually 5MB