Amazon CloudFront and HTTP/2


HTTP/2 is a major revision of the HTTP protocol. This new version has several features that make page loading and rendering faster.

·         Multiplexing allows multiple requests and response messages between the client and Amazon CloudFront to be in flight at the same time over a single connection, instead of multiple connections, which improves page load times.
·         Header compression reduces the overhead bytes downloaded by the client, helping get the content to the viewer sooner. This is especially useful for mobile clients that are already constrained on bandwidth.
·         Stream priority, allows for quicker page rendering by enabling the client to control the order in which web assets are delivered, thereby optimizing user experience.

HTTP/2 is enabled by default for all new Amazon CloudFront distributions, and for existing distributions HTTP/2 can be enabled by editing the distribution configuration. There is no additional charge for using this feature, and clients that do not support HTTP/2 will still be able to communicate with HTTP/2-Enabled Amazon CloudFront distributions using HTTP/1.1.

Also note that  The connection from CloudFront back to your origin server is still made using HTTP/1. You don’t need to make any server-side changes in order to make your static or dynamic content accessible via HTTP/2.”

REFERENCES
Amazon CloudFront now supports HTTP/2

New – HTTP/2 Support for Amazon CloudFront


Comments