HTTP/2 & Server Push
HTTP/2 is supported by 48% of the top 10 million websites as of August 2020 (W3Techs), and for good reason. It can give an incredible performance boost. Let's learn about how it works and what its advantages are in this lesson.
We'll cover the following...
Problems with HTTP/1
Have a look at the following diagram on how HTTP/1 generally works.
Looks pretty normal and routine right? Well, this malignant design of HTTP/1 actually causes huge performance blocks that can be easily avoided. The problem is that all the requests happen one after the other, and each request requires a separate TCP connection to be opened. These extra round trips and the extra overhead for opening and closing new TCP connections occurs for no real reason, and add up to overall latency. The browser ...