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: 10891 ms
怎麼都是2個并發,差異會這麼大,哈哈,用的IE還是較多一些。