{"id":220006,"date":"2021-06-25T08:42:38","date_gmt":"2021-06-25T00:42:38","guid":{"rendered":"https:\/\/gulass.cn\/?p=220006"},"modified":"2021-06-18T10:43:33","modified_gmt":"2021-06-18T02:43:33","slug":"http-3-import","status":"publish","type":"post","link":"https:\/\/gulass.cn\/http-3-import.html","title":{"rendered":"\u4ecb\u7ecd\u4ec0\u4e48\u662f HTTP\/3\uff0c\u5b83\u4e3a\u4ec0\u4e48\u91cd\u8981\uff1f"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u5728\u7814\u7a76\u4e92\u8054\u7f51\u53ca\u5176\u80cc\u540e\u7684\u6280\u672f\u65f6\uff0c\u60a8\u53ef\u80fd\u4f1a\u9047\u5230\u8fd9\u4e2a\u672f\u8bed\uff1aHTTP\u3002HTTP\uff0c\u6216\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae\uff0c\u662f\u7f51\u7edc\u7684\u652f\u67f1\uff0c\u662f\u4f20\u8f93\u6587\u672c\u6570\u636e\u7684\u901a\u7528\u534f\u8bae\u3002\u6beb\u65e0\u7591\u95ee\uff0c\u60a8\u4f7f\u7528\u8fc7\u5b83\uff0c\u56e0\u4e3a\u60a8\u4e86\u89e3 HTTP \u7684\u7f51\u7ad9\u4f7f\u7528\u7684\u662f HTTP\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/a><\/p>\n

HTTP \u7b80\u53f2<\/strong><\/div>\n

\u53d1\u5e03\u7684\u7b2c\u4e00\u4e2a HTTP \u7248\u672c\u662f HTTP\/0.9\u3002Tim Berners-Lee \u4e8e 1989 \u5e74\u521b\u5efa\u4e86\u5b83\uff0c\u5e76\u4e8e 1991 \u5e74\u5c06\u5176\u547d\u540d\u4e3a HTTP\/0.9\u3002HTTP\/0.9 \u529f\u80fd\u662f\u6709\u9650\u7684\uff0c\u53ea\u80fd\u505a\u57fa\u672c\u7684\u4e8b\u60c5\u3002\u9664\u4e86\u7f51\u9875\u4e4b\u5916\uff0c\u5b83\u65e0\u6cd5\u8fd4\u56de\u4efb\u4f55\u5185\u5bb9\uff0c\u5e76\u4e14\u4e0d\u652f\u6301 cookie \u548c\u5176\u4ed6\u73b0\u4ee3\u529f\u80fd\u30021996 \u5e74\uff0cHTTP\/1.0 \u53d1\u5e03\uff0c\u5e26\u6765\u4e86\u65b0\u529f\u80fd\uff0c\u5982 POST \u8bf7\u6c42\u548c\u53d1\u9001\u7f51\u9875\u4ee5\u5916\u7684\u5185\u5bb9\u7684\u80fd\u529b\u3002\u4f46\u662f\uff0c\u4e0e\u4eca\u5929\u76f8\u6bd4\uff0c\u8fd8\u6709\u5f88\u957f\u7684\u8def\u8981\u8d70\u3002HTTP \/ 1.1\u57281997\u5e74\u53d1\u5e03\uff0c\u5e76\u8fdb\u884c\u4e86\u4e24\u6b21\u4fee\u8ba2\uff0c\u4e00\u6b21\u662f\u57281999\u5e74\uff0c\u4e00\u6b21\u662f\u57282007\u5e74\u3002\u5b83\u5e26\u6765\u4e86\u8bb8\u591a\u4e3b\u8981\u7684\u65b0\u529f\u80fd\uff0c\u4f8b\u5982cookie\u548c\u8fde\u63a5\u4ecd\u7136\u5b58\u5728\u3002\u6700\u540e\uff0c\u5728 2015 \u5e74\uff0cHTTP\/2 \u53d1\u5e03\u5e76\u5141\u8bb8\u63d0\u9ad8\u6027\u80fd\uff0c\u4f7f\u8bf8\u5982\u670d\u52a1\u5668\u53d1\u9001\u4e8b\u4ef6\u548c\u4e00\u6b21\u53d1\u9001\u591a\u4e2a\u8bf7\u6c42\u7684\u80fd\u529b\u6210\u4e3a\u53ef\u80fd\u3002HTTP\/2 \u4ecd\u7136\u662f\u65b0\u7684\uff0c\u53ea\u6709\u4e0d\u5230\u4e00\u534a\u7684\u7f51\u7ad9\u4f7f\u7528\u3002<\/p>\n

HTTP\/3\uff1a\u6700\u65b0\u7248\u672c\u7684 HTTP <\/strong><\/div>\n

HTTP\/3\u6216HTTP over QUIC\uff0c\u6539\u53d8\u4e86HTTP\u5f88\u591a\u3002HTTP \u4f20\u7edf\u4e0a\u662f\u901a\u8fc7 TCP\uff08\u4f20\u8f93\u63a7\u5236\u534f\u8bae\uff09\u5b8c\u6210\u7684\u3002\u4f46\u662f\uff0cTCP\u4e8e1974\u5e74\u4e92\u8054\u7f51\u5f00\u59cb\u53d1\u5c55\u3002\u5f53 TCP \u6700\u521d\u521b\u5efa\u65f6\uff0c\u5b83\u7684\u4f5c\u8005\u65e0\u6cd5\u9884\u6d4b\u7f51\u7edc\u7684\u589e\u957f\u3002\u7531\u4e8e TCP \u5df2\u8fc7\u65f6\uff0c\u56e0\u6b64 TCP \u5728\u4e00\u6bb5\u65f6\u95f4\u5185\u9650\u5236\u4e86 HTTP \u7684\u901f\u5ea6\u548c\u5b89\u5168\u6027\u3002\u73b0\u5728\uff0c\u7531\u4e8e HTTP\/3\uff0cHTTP \u4e0d\u518d\u53d7\u9650\u5236\u3002HTTP\/3 \u6ca1\u6709\u4f7f\u7528 TCP\uff0c\u800c\u662f\u4f7f\u7528\u4e86\u4e00\u79cd\u7531 Google \u4e8e 2012 \u5e74\u5f00\u53d1\u7684\u65b0\u534f\u8bae\uff0c\u79f0\u4e3a QUIC\uff08\u53d1\u97f3\u4e3a\u201cquick\u201d\uff09\u3002\u8fd9\u4e3a HTTP \u5f15\u5165\u4e86\u8bb8\u591a\u65b0\u529f\u80fd\u3002<\/p>\n

\u94fe\u63a5\uff1ahttps:\/\/www.linuxmi.com\/http-3-http-over-quic.html<\/p>\n

\u66f4\u5feb\u7684\u8bf7\u6c42\u591a\u8def\u590d\u7528<\/strong><\/div>\n

\u7167\u7247\u6765\u81eaUnsplash\u7684PAUL SMITH<\/p>\n

\u5728 HTTP\/2 \u4e4b\u524d\uff0c\u6d4f\u89c8\u5668\u4e00\u6b21\u53ea\u80fd\u5411\u670d\u52a1\u5668\u53d1\u9001\u4e00\u4e2a\u8bf7\u6c42\u3002\u8fd9\u4f7f\u5f97\u7f51\u7ad9\u52a0\u8f7d\u901f\u5ea6\u660e\u663e\u53d8\u6162\uff0c\u56e0\u4e3a\u6d4f\u89c8\u5668\u4e00\u6b21\u53ea\u52a0\u8f7d\u4e00\u9879\u8d44\u6e90\uff0c\u5982 CSS \u6216 JavaScript\u3002HTTP\/2 \u5f15\u5165\u4e86\u4e00\u6b21\u52a0\u8f7d\u591a\u4e2a\u8d44\u6e90\u7684\u80fd\u529b\uff0c\u4f46 TCP \u5e76\u975e\u4e3a\u6b64\u800c\u751f\u3002\u5982\u679c\u8bf7\u6c42\u4e4b\u4e00\u5931\u8d25\uff0cTCP\u5c06\u4f7f\u6d4f\u89c8\u5668\u91cd\u505a\u6240\u6709\u8bf7\u6c42\u3002\u7531\u4e8eTCP\u5728HTTP\/3\u4e2d\u5df2\u88ab\u5220\u9664\u5e76\u7531QUIC\u4ee3\u66ff\uff0c\u56e0\u6b64HTTP\/3\u89e3\u51b3\u4e86\u6b64\u95ee\u9898\u3002\u4f7f\u7528 HTTP\/3\uff0c\u6d4f\u89c8\u5668\u53ea\u9700\u8981\u91cd\u505a\u5931\u8d25\u7684\u8bf7\u6c42\u3002\u56e0\u6b64\uff0cHTTP\/3 \u66f4\u5feb\u3001\u66f4\u53ef\u9760\u3002<\/p>\n

\u66f4\u5feb\u7684\u52a0\u5bc6<\/strong><\/div>\n

HTTP\/3 \u4f18\u5316\u4e86\u5141\u8bb8\u6d4f\u89c8\u5668 HTTP \u8bf7\u6c42\u88ab\u52a0\u5bc6\u7684\u201c\u63e1\u624b\u201d\u3002QUIC \u5c06\u521d\u59cb\u8fde\u63a5\u4e0e TLS \u63e1\u624b\u76f8\u7ed3\u5408\uff0c\u4f7f\u5176\u9ed8\u8ba4\u5b89\u5168\u4e14\u901f\u5ea6\u66f4\u5feb\u3002<\/p>\n

\u94fe\u63a5\uff1ahttps:\/\/www.linuxmi.com\/http-3-http-over-quic.html<\/p>\n

\u6807\u51c6\u5316<\/strong><\/div>\n

\u5728\u64b0\u5199\u672c\u6587\u65f6\uff0cHTTP\/3 \u548c QUIC \u5c1a\u672a\u6807\u51c6\u5316\u3002\u6709\u4e00\u4e2a IETF\u5de5\u4f5c\u7ec4\u76ee\u524d\u6b63\u5728\u5236\u5b9a\u6807\u51c6\u5316 QUIC \u7684\u8349\u6848\u3002HTTP\/3 \u7684 QUIC \u7248\u672c\u7565\u6709\u4fee\u6539\uff0c\u4f7f\u7528 TLS \u4ee3\u66ff Google \u7684\u52a0\u5bc6\uff0c\u4f46\u5177\u6709\u76f8\u540c\u7684\u4f18\u70b9\u3002<\/p>\n

\u6d4f\u89c8\u5668\u652f\u6301<\/strong><\/div>\n

\u76ee\u524d\uff0c\u7531\u4e8e\u8c37\u6b4c\u521b\u5efa\u4e86 QUIC \u534f\u8bae\u548c HTTP over QUIC \u7684\u63d0\u8bae\uff0cChrome \u9ed8\u8ba4\u652f\u6301 HTTP\/3\u3002Firefox \u4e5f\u652f\u6301 88+ \u7248\u672c\u4e2d\u6ca1\u6709\u6807\u5fd7\u7684\u534f\u8bae\u3002Safari 14\u652f\u6301HTTP\/3\uff0c\u4f46\u524d\u63d0\u662f\u542f\u7528\u4e86\u5b9e\u9a8c\u6027\u529f\u80fd\u6807\u5fd7\u3002<\/p>\n

\u6d4f\u89c8\u5668\u652f\u6301 HTTP\/3\uff08\u6765\u6e90\uff1aCan I Use\uff09<\/p>\n

Serverless\/CDN \u652f\u6301<\/strong><\/div>\n

\u5230\u76ee\u524d\u4e3a\u6b62\uff0c\u53ea\u6709\u90e8\u5206\u670d\u52a1\u5668\u652f\u6301 HTTP\/3\uff0c\u4f46\u5b83\u4eec\u7684\u4efd\u989d\u6b63\u5728\u589e\u957f\u3002Cloudflare \u662f\u9664 Google \u4e4b\u5916\u6700\u65e9\u652f\u6301 HTTP\/3 \u7684\u516c\u53f8\u4e4b\u4e00\uff0c\u56e0\u6b64\u5b83\u4eec\u7684\u65e0\u670d\u52a1\u5668\u529f\u80fd\u548c CDN \u7b26\u5408 HTTP\/3 \u6807\u51c6\u3002\u6b64\u5916\uff0cGoogle Cloud \u548c Fastly \u7b26\u5408 HTTP\/3 \u6807\u51c6\u3002\u4e0d\u5e78\u7684\u662f\uff0cMicrosoft Azure CDN \u548c AWS CloudFront \u76ee\u524d\u4f3c\u4e4e\u4e0d\u652f\u6301 HTTP\/3\u3002\u5982\u679c\u60a8\u60f3\u5c1d\u8bd5 HTTP\/3\uff0cQUIC.Cloud\u662f\u4e00\u79cd\u5728\u60a8\u7684\u670d\u52a1\u5668\u524d\u8bbe\u7f6e\u7f13\u5b58 HTTP\/3 CDN \u7684\u6709\u8da3\uff08\u867d\u7136\u662f\u5b9e\u9a8c\u6027\u7684\uff09\u65b9\u6cd5\u3002Cloudflare\u3001Fastly \u548c Google Cloud \u4e5f\u6709\u826f\u597d\u7684 HTTP\/3 \u652f\u6301\uff0c\u5e76\u4e14\u66f4\u9002\u5408\u751f\u4ea7\u3002<\/p>\n

\u603b\u7ed3<\/strong><\/div>\n

HTTP\/3 \u4ecd\u7136\u662f\u5bf9 HTTP \u7684\u4e00\u4e2a\u975e\u5e38\u5b9e\u9a8c\u6027\u7684\u66f4\u65b0\uff0c\u5b83\u5f88\u53ef\u80fd\u4f1a\u6539\u53d8\u3002\u4f46\u662f\uff0c\u8d85\u8fc7\u4e00\u534a\u7684\u7528\u6237\u652f\u6301\u5f53\u524d\u5f62\u5f0f\u7684 HTTP\/3\u3002\u5982\u679c\u60a8\u51c6\u5907\u66f4\u65b0\u60a8\u7684\u5b9e\u73b0\uff0c\u90a3\u4e48\u5b83\u53ef\u4ee5\u662f\u4e00\u4e2a\u53d7\u6b22\u8fce\u7684\u6027\u80fd\u63d0\u5347\u3002\u6211\u5e0c\u671b\u4f60\u559c\u6b22\u9605\u8bfb\u5e76\u4ece\u8fd9\u7bc7\u6587\u7ae0\u4e2d\u5b66\u5230\u4e00\u4e9b\u4e1c\u897f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u53d1\u5e03\u7684\u7b2c\u4e00\u4e2a HTTP \u7248\u672c\u662f HTTP\/0.9\u3002Tim Berners-Lee \u4e8e 1989 \u5e74\u521b\u5efa\u4e86\u5b83\uff0c\u5e76 […]<\/p>\n","protected":false},"author":643,"featured_media":220643,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-220006","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/220006","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/users\/643"}],"replies":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/comments?post=220006"}],"version-history":[{"count":5,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/220006\/revisions"}],"predecessor-version":[{"id":220645,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/220006\/revisions\/220645"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media\/220643"}],"wp:attachment":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media?parent=220006"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/categories?post=220006"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/tags?post=220006"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}