Our nodes support HTTP/2. This options is enabled on all servers by default. Thus, if a user's browser supports HTTP/2, a CDN delivers content via this protocol.
This standard is supported by Google Chrome, Opera, Mozilla Firefox, Internet Explorer 11, Safari, Amazon Silk and Microsoft Edge. However, at present HTTP/2 works in browsers only for https requests, so to make use of this option, add an SSL certificate to you CDN Resource.
If you server doesn't support HTTP/2 but a client requests CDN content via HTTP/2, a CDN will deliver the content via HTTP/2, other content — via your server protocol. Browsers can speak different protocols to different domains, and they are able to merge the content they receive from those different domains into a single page.
You need to configure your webserver so that the content could be delivered via HTTP/2 in a proper way.
Version: 1.9.5 or later (if you have an earlier version, please upgrade).
Open /etc/nginx/nginx.conf and replace the line in the Server section
listen 443 ssl;
listen 443 ssl http2;
Save changes and restart Nginx with the command:
$ sudo service nginx reload
Version: 2.4.17 or later (if you have an earlier version, please upgrade).
Enable the mod_http2 module (it also can be called mod_h2_module).
Add these lines to the configuration file
# for a https server
Protocols h2 http/1.1
# for a http server
Protocols h2c http/1.1
Benefits of HTTP/2 for CDN
There is no need to create several CNAME records using HTTP/2. One TCP connection is set up and the load goes through it. There will not be any latency due to several simultaneous connections.