Skip to content

Commit 6ce9e71

Browse files
authored
Merge pull request #2979 from Kirshach/patch-1
update localStorage size limit info
2 parents 9fcd38f + c5c1d61 commit 6ce9e71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

6-data-storage/02-localstorage/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ What's interesting about them is that the data survives a page refresh (for `ses
66

77
We already have cookies. Why additional objects?
88

9-
- Unlike cookies, web storage objects are not sent to server with each request. Because of that, we can store much more. Most browsers allow at least 2 megabytes of data (or more) and have settings to configure that.
9+
- Unlike cookies, web storage objects are not sent to server with each request. Because of that, we can store much more. Most modern browsers allow at least 5 megabytes of data (or more) and have settings to configure that.
1010
- Also unlike cookies, the server can't manipulate storage objects via HTTP headers. Everything's done in JavaScript.
1111
- The storage is bound to the origin (domain/protocol/port triplet). That is, different protocols or subdomains infer different storage objects, they can't access data from each other.
1212

0 commit comments

Comments
 (0)