{"id":1115,"date":"2016-11-21T23:16:44","date_gmt":"2016-11-21T15:16:44","guid":{"rendered":"https:\/\/blog.zbyzbyzby.com\/?p=1115"},"modified":"2017-03-06T20:30:54","modified_gmt":"2017-03-06T12:30:54","slug":"%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%90%af%e7%94%a8-http2-%e5%95%a6","status":"publish","type":"post","link":"https:\/\/b.xfiu.cn\/?p=1115","title":{"rendered":"\u670d\u52a1\u5668\u542f\u7528 HTTP\/2 \u5566"},"content":{"rendered":"<p>HTTP\/2 \u662f HTTP \u534f\u8bae\u7684\u6700\u65b0\u7248\u672c\uff08\u53d6\u4ee3\u4e86\u9648\u65e7\u7684 HTTP\/1.1 \u548c\u975e\u6807\u51c6\u7684 SPDY\uff09\uff0c\u76f8\u6bd4\u4e4b\u4e0b\u6709\u66f4\u597d\u7684\u6027\u80fd\u3002\u5728 2016 \u5e74 6 \u6708\u53d1\u5e03\u7684 <a href=\"https:\/\/access.redhat.com\/documentation\/en-US\/Red_Hat_Software_Collections\/2\/html\/2.2_Release_Notes\/\" target=\"_blank\">RHSCL 2.2<\/a> \u4e2d\u5305\u62ec\u4e86 httpd 2.4.18\u3002\u8fd9\u4e2a\u7248\u672c\u7684 httpd \u7ec8\u4e8e\u4e3a CentOS 6 \u5e26\u6765\u4e86 HTTP\/2 \u652f\u6301\u3002\u542f\u7528 HTTP\/2 \u652f\u6301\u5f88\u7b80\u5355\uff0c\u670d\u52a1\u5668\u4e0a\u5b89\u88c5\u597d httpd 2.4.18 \u540e\uff0c\u53ea\u8981\u5728 httpd.conf \u4e2d\u52a0\u5165 <code>Protocols h2 http\/1.1<\/code> \u5373\u53ef\u3002\u5982\u679c\u60f3\u7528 Firefox \u6d4f\u89c8\u5668\u68c0\u6d4b HTTP\/2 \u662f\u5426\u5f00\u542f\uff0c\u53ea\u9700\u5b89\u88c5 <a href=\"https:\/\/addons.mozilla.org\/en-US\/firefox\/addon\/spdy-indicator\/\" target=\"_blank\">HTTP\/2 and SPDY indicator<\/a> \u8fd9\u4e2a\u63d2\u4ef6\uff0c\u7136\u540e\u8bbf\u95ee\u7f51\u7ad9\uff0c\u5e76\u67e5\u770b\u5730\u5740\u680f\u53f3\u4fa7\u662f\u5426\u6709\u84dd\u8272\u95ea\u7535\u56fe\u6807\u51fa\u73b0\uff0c\u5982\u679c\u6709\uff0c\u5c31\u8bf4\u660e\u6d4f\u89c8\u5668\u6b63\u5728\u4f7f\u7528 HTTP\/2 \u4e0e\u670d\u52a1\u5668\u901a\u4fe1\u5566\uff01<\/p>\n<p>p.s. \u5373\u5c06\u53d1\u5e03\u7684 RHSCL 2.3 \u4e2d\u4f1a\u6709 PHP 7.0 \u54e6\uff01<\/p>\n<p>== UPDATE ==<br \/>\n\u597d\u50cf HTTP\/2 \u4f1a\u5bfc\u81f4\u4e00\u4e9b\u83ab\u540d\u5176\u5999\u7684\u95ee\u9898\uff0c\u6682\u65f6\u5173\u4e86\u3002\u3002\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>HTTP\/2 \u662f HTTP \u534f\u8bae\u7684\u6700\u65b0\u7248\u672c\uff08\u53d6\u4ee3\u4e86\u9648\u65e7\u7684 HTTP\/1.1 \u548c\u975e &hellip; <a href=\"https:\/\/b.xfiu.cn\/?p=1115\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-1115","post","type-post","status-publish","format-standard","hentry","category-computer"],"_links":{"self":[{"href":"https:\/\/b.xfiu.cn\/index.php?rest_route=\/wp\/v2\/posts\/1115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/b.xfiu.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/b.xfiu.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/b.xfiu.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/b.xfiu.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1115"}],"version-history":[{"count":8,"href":"https:\/\/b.xfiu.cn\/index.php?rest_route=\/wp\/v2\/posts\/1115\/revisions"}],"predecessor-version":[{"id":1148,"href":"https:\/\/b.xfiu.cn\/index.php?rest_route=\/wp\/v2\/posts\/1115\/revisions\/1148"}],"wp:attachment":[{"href":"https:\/\/b.xfiu.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/b.xfiu.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/b.xfiu.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}