From: Luca Toscano Date: Thu, 17 Mar 2016 07:58:24 +0000 (+0000) Subject: Documentation rebuild X-Git-Tag: 2.5.0-alpha~1882 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=46d20419ac0fb41753648ffb309bc79c4df36bed;p=apache Documentation rebuild git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1735374 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/howto/http2.html.en b/docs/manual/howto/http2.html.en index 5823a7f579..a636642d92 100644 --- a/docs/manual/howto/http2.html.en +++ b/docs/manual/howto/http2.html.en @@ -60,6 +60,15 @@ better document to start with is http2 explained by Daniel Stenberg, the author of curl. It is available in an ever growing list of languages, too!

+

Too Long, Didn't read: there are some new terms and gotchas that need to be kept in mind while reading this document:

+
top

HTTP/2 in Apache httpd

@@ -121,8 +130,11 @@

This allows only HTTP/1 on connections, except SSL connections to test.example.org which offer HTTP/2.

+

Choose a strong SSLCipherSuite

+

The SSLCipherSuite needs to be configured with a strong TLS cipher suite. The current version of mod_http2 does not enforce any cipher but most clients do so. Pointing a browser to a h2 enabled server with a inappropriate cipher suite will force it to simply refuse and fall back to HTTP 1.1. This is a common mistake that is done while configuring httpd for HTTP/2 the first time, so please keep it in mind to avoid long debugging sessions! If you want to be sure about the cipher suite to choose please avoid the ones listed in the HTTP/2 TLS blacklist.

+

The order of protocols mentioned is also relevant. By default, the first one is the - most peferred protocol. When a client offers multiple choices, the one most to the + most preferred protocol. When a client offers multiple choices, the one most to the left is selected. In

Protocols http/1.1 h2
@@ -178,11 +190,11 @@ never sent and the response to it will arrive soon..."

But there are restrictions: the client can disable this feature and the server may only ever PUSH on a request that came from the client.

-

The intention is to allow the server to send resources to the clien that +

The intention is to allow the server to send resources to the client that it will most likely need: a css or javascript resource that belongs to a html page the client requested. A set of images that is referenced by a css, etc.

The advantage for the client is that it saves the time to send the request which - may range from a few milli seconds to half a second, depending on where on the + may range from a few milliseconds to half a second, depending on where on the globe both are located. The disadvantage is that the client may get sent things it already has in its cache. Sure, HTTP/2 allows for the early cancellation of such requests, but still there are resources wasted.