How much data can cookies store?

Asked

Viewed 558 times

2

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

inserir a descrição da imagem aqui

1 answer

3


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

  1. Chrome has no limit on maximum bytes per domain
  2. Firefox has no limit on maximum bytes per domain
  3. Internet Explorer allows between 4096 and 10234 bytes
  4. Opera allows 4096 bytes
  5. Safari allows 4096 bytes

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

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.