2008-05-13
各个浏览器并发连接数比较
关键字: 浏览器The HTTP/1.1 RFC
Section 8.1.4 of the HTTP/1.1 RFC says a “single-user client SHOULD NOT maintain more than 2 connections with any server or proxy.” The key here is the word “should.” Web clients don’t have to follow this guideline. IE8 isn’t the first to exceed this guideline. Opera and Safari hold that honor supporting 4 connections per server.
8.1.4节提到单用户客户端不能维护超过2个连接对任何一个服务器或代理。这里的关键词:“应该”,很多浏览器的实现不严格遵从这个规定,IE8不是第一个超越此标准,Opera Saari已经支持超过4个并发连接。
Settings for Current Browsers
The table below shows the number of connections per server supported by current browsers for HTTP/1.1 as well as HTTP/1.0.
| Browser | HTTP/1.1 | HTTP/1.0 |
| IE 8 | 6 | ?1 |
| IE 6,7 | 2 | 4 |
| Firefox 3 | 22 | ?1 |
| Firefox 1.5, 2 | 2 | 8 |
| Opera 9 | 4 | ?1 |
| Safari 3 | 4 | ?1 |
下面一个测试并发速度的页面:
http://stevesouders.com/hpws/parallel-downloads.php
一般而言,浏览器所支持对同一Server的并发数越多多好,IE8应该不错。
我本机IE7:
| Page load time: | 5203 ms |
本机FF2:
Page load time:
怎么都是2个并发,差异会这么大,哈哈,用的IE还是较多一些。
评论
masterkey
2008-05-13
你混淆概念了!
keepalive仅仅是建立一个通道,多数据传输,避免多次握手而已。
Section 8.1.4 of the HTTP/1.1 RFC says a “single-user client SHOULD NOT maintain more than 2 connections with any server or proxy.
是对单用户对一个server或proxy的并发连接限制,是browser端的规范要求。
keepalive仅仅是建立一个通道,多数据传输,避免多次握手而已。
Section 8.1.4 of the HTTP/1.1 RFC says a “single-user client SHOULD NOT maintain more than 2 connections with any server or proxy.
是对单用户对一个server或proxy的并发连接限制,是browser端的规范要求。
ShiningRay
2008-05-13
没考虑keepalive不算数
发表评论
- 浏览: 26757 次
- 性别:

- 来自: 北京

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
nginx 0.7.1 release
我发现discuz已经在用nginx7.0,那说明这个版本已经完全可以运用于商业 ...
-- by Arden -
nginx 0.7.1 release
这是开发版
-- by 剑 事 -
各个浏览器并发连接数比较
你混淆概念了! keepalive仅仅是建立一个通道,多数据传输,避免多次握手 ...
-- by masterkey -
各个浏览器并发连接数比较
没考虑keepalive不算数
-- by ShiningRay -
我看<赢在中国>
我觉得第二赛季的比较不错
-- by davis129






评论排行榜