marcuswestin / store.js

Cross-browser storage for all use cases, used across the web.
MIT License
14.02k stars 1.33k forks source link

Storages limits table #203

Closed krizzu closed 7 years ago

krizzu commented 7 years ago

This subject is wider than I thought! I have tested these numbers with latest Chrome, chrome on mobile and firefox. Couldn't check in IE or Safari (as I have no access to those), so I just used numbers from here.

I've put a "~" sign next to Cookie size, as its variations is almost different in every browser/version. Added link to an article that can be helpful.

About Browser memory - from this disscussion I assume that we are limited (limited?) to PC's RAM. Although I could be wrong here.

I'd be glad to hear any feedback/thoughts on this.

Thanks

marcuswestin commented 7 years ago

Looks great! I'll go ahead and merge now and then I have a few small changes in mind - let me know after if you think they don't make sense.

Thanks so much!

krizzu commented 7 years ago

Cool, thanks!

marcuswestin commented 7 years ago

Hey! I took the info and work you did and reshaped it a little bit with the intention to help people understand the max amount they can store in any given build (modern, legacy, etc) and expect correct and consistent behavior across all browsers supported by that build. It was guided by the table you compiled and wouldn't have come together without it :) I also preserved all the original information by linking to the relevant pages you found for each build.

What do you think? Is it an improvement, or was it better the way it was before?

Cheers!