鍍金池/ 教程/ Linux/ 背景
后http2時(shí)代
升級(jí)HTTP
擴(kuò)展
擴(kuò)展閱讀
致謝
http2 的世界
curl中的http2
Chromium里的http2
背景
Firefox里的http2
HTTP 的現(xiàn)狀
http2 協(xié)議
http2 的基本概念
那些年,克服延遲之道

背景

這篇文檔會(huì)從技術(shù)和協(xié)議層面介紹http2。文檔起源于2014年4月我在斯德哥爾摩做了一次相關(guān)的演講,在那之后我對(duì)演講內(nèi)容的細(xì)節(jié)進(jìn)行了一些解釋和補(bǔ)充,從而寫出了這篇文檔。

正式版http2規(guī)格標(biāo)準(zhǔn)叫做RFC 7540,發(fā)布于2015年5月15日:http://www.rfc-editor.org/rfc/rfc7540.txt

如果你有在這篇文章中發(fā)現(xiàn)任何我的失誤造成的錯(cuò)誤或疏漏,請(qǐng)幫我指正。我會(huì)在后續(xù)版本中修改。

為了讓閱讀體驗(yàn)更流暢,在這篇文章中我會(huì)使用“http2”來指代這一新協(xié)議,但請(qǐng)記住該協(xié)議的正式名字是HTTP/2。

這篇文檔版本為1.12,發(fā)布于2015年5月21日。

1.1. 關(guān)于作者

我的名字叫做Daniel Stenberg,在Mozilla工作。在過去20年,我一直致力于開源事業(yè),參與了多個(gè)網(wǎng)絡(luò)方面的項(xiàng)目??赡芪易顝V為人知的身份是curl和libcurl的首席開發(fā)者。同時(shí),我也參與了IETF HTTPbis工作組多年,工作在HTTP 1.1和http2標(biāo)準(zhǔn)化的一線.

1.2. 幫助我!

如果你在該文檔里面發(fā)現(xiàn)任何錯(cuò)誤、疏漏,請(qǐng)發(fā)送給我一份相關(guān)段落更改后的版本,我會(huì)進(jìn)行修正并且注明所有對(duì)文檔有貢獻(xiàn)的人!希望這份文檔能越來越好。

這篇文檔可以在http://daniel.haxx.se/http2下載。

1.3. 許可證

這篇文檔基于Createive Commons Attribution 4.0發(fā)布: http://creativecommons.org/licenses/by/4.0/

http://wiki.jikexueyuan.com/project/http-2-explained/images/license.png" alt="" />

1.4. 文檔歷史

該文檔的第一版發(fā)布于2014年4月25日。下面是最近主要改動(dòng)的更新歷史。

Version 1.12:

  • 1.1: HTTP/2 is now in an official RFC
  • 6.5.1: link to the HPACK RFC
  • 9.1: mention the Firefox 36+ config switch for http2
  • 12.1: Added section about QUIC

Version 1.11:

  • Lots of language improvements mostly pointed out by friendly contributors
  • 8.3.1: mention nginx and Apache httpd specific acitivities

Version 1.10:

  • 1: the protocol has been “okayed”
  • 4.1: refreshed the wording since 2014 is last year
  • front: added image and call it “http2 explained” there, fied link
  • 1.4: added document history section
  • many spelling and grammar mistakes corrected
  • 14: added thanks to bug reporters
  • 2.4: (better) labels for the HTTP growth graph
  • 6.3: corrected the wagon order in the multiplexed train
  • 6.5.1: HPACK draft-12

Version 1.9: February 11, 2015

  • Updated to HTTP/2 draft-17 and HPACK draft-11
  • Added section "10. http2 in Chromium" (== one page longer now)
  • Lots of spell fies
  • At 30 implementations now
  • 8.5: added some current usage numbers
  • 8.3: mention internet explorer too
  • 8.3.1 "missing implementations" added
  • 8.4.3: mention that TLS also increases success rate

Version 1.8: January 15th, 2015

  • Compressed the images better, leading to a much smaller PDF
  • Updated to draft-16 and hpack-10
  • Replaced several images
  • Linkifid many URLs
  • Added a few questions in 8.4
  • Mentions IETF Last Call
上一篇:curl中的http2下一篇:后http2時(shí)代