How much data can cookies store? [duplicate]

2

Cookies are information stored by websites on your computer but how much data can cookies store?

    
asked by anonymous 25.03.2017 / 15:51

1 answer

3

I found this at How Many Cookies Can You Use on One Website Updated October 09, 2016

  • Chrome has no maximum byte limit per domain
  • Firefox has no maximum byte limit per domain
  • Internet Explorer allows between 4096 and 10234 bytes
  • Opera allows 4096 bytes
  • Safari allows 4096 bytes
  •   

    COOKIE SIZE LIMITS YOU SHOULD FOLLOW   To be compatible with most browsers, you should not create more than 30 cookies per domain and all 30 cookies should not occupy more than 4 KB of space (4096 bytes).

    If you intend to extrapolate these limits, use localStorage (HTML5 - local storage). With the localStorage the storage limit is much higher (at least 5 MB).

        
    25.03.2017 / 18:30