截至2011年,现代浏览器的通用Cookie限制是多少?我对以下内容特别感兴趣:
我知道RFC 2109指定:
但是实际规格是什么?
它揭示了很多有关cookie的内部细节。单击“为当前浏览器运行测试”以获取结果(仅需一点时间)。
例如,我为Google Chrome 10.0.648.134 beta运行了所有测试:
22:23:46.639: Starting 22:23:47.345: Count: Max Cookie count with Character Length 3 and character "1": 180 22:23:50.131: Size: Max Cookie Character Length using character "1": 4096 22:23:52.347: Count: Max Cookie count with Character Length 4096 and character "1": 180 22:23:54.517: Size: Max Cookie Character Length using character "ÿ": 2049 22:23:57.450: Count: Max Cookie count with Character Length 2049 and character "ÿ": 180 22:23:59.41: Count: Max Cookie count with Character Length 100 and character "1": 180 22:24:0.535: Count: Max Cookie count with Character Length 10 and character "1": 180 22:24:2.88: Count: Max Cookie count with Character Length 5 and character "1": 180 22:24:2.886: Guessing Max Cookie Count Per Domain: 180 22:24:2.887: Guessing Max Cookie Size Per Cookie: 4096 bytes 22:24:2.887: Guessing Max Cookie Size Per Domain: NA
这个答案很旧,但是我只是检查了最新版本的Chrome的结果,它们基本上是相同的。编辑:更新了Chrome 54.0.2840.98(64位)的答案。