Skip to content

Commit 72d566a

Browse files
authored
Add 10kb limit (closes #48) (#59)
1 parent f82336d commit 72d566a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,8 @@ A third-party domain's cookie jar should have a much lower per-partition size li
439439
User agents must limit third-party domains to just one or some small number of cookies per-partition.
440440
The number of cookies in a single partition per third-party is scoped by domain so that a third-party could not circumvent this limit by registering new subdomains.
441441

442+
Based on [feedback on this proposal](https://github.com/privacycg/CHIPS/issues/48) that both a lower limit of cookies per-partition as well as a lower maximum size of individual partitioned cookies will pose problems for developers, we suggest a limit based on the total amount of memory used up by cookies of a partitioned site. This limit could be 10 kibibytes.
443+
442444
User agents may enforce some global limit on the number of partitioned cookies in the cookie jar.
443445
This is to ensure that as a user visits more top-level sites over time that the number of partitioned cookies saved to their machine does not grow over time without bound.
444446

@@ -483,7 +485,7 @@ This would ensure that cross-site cookies are hostname bound and only sent over
483485

484486
### Memory impact
485487

486-
Based on Chrome data, we estimate limiting a domain to 10 cookies per-partition will satisfy ~99% of existing cross-site cookie use cases on the web today.
488+
Based on Chrome data, we estimate that 10 cookies per-partition will satisfy ~99% of existing cross-site cookie use cases on the web today.
487489
Based on Chrome data aggregated over a 28 day period, we estimate partitioning cross-site cookies will increase the cookie jar size ~6% on average for Android Chrome users with at least 25 cookies and ~18% on average for desktop Chrome users with at least 25 cookies.
488490

489491
We find this trade-off between meeting cross-site cookie use cases and memory impact to be acceptable, but user agents may wish to impose additional size limits on the partitioned cookie jar such as a global limit on all partitioned cookies.

0 commit comments

Comments
 (0)