HTTP2 advantages
Http 1.0 had a serious limitation in the number of HTTP connections allowed between a browser and the HTTP Server. HTTP 2.0 addressed several limitations and also provided enhancements over HTTP 1.0
HTTP 2.0 addresses these shortcomings
- Connection Multiplexing – Single connection for multiple requests.
- Error Handling – There was no way to handle errors in HTTP 1.0
- Server Based asset Push (Server Pushes for short) – If a request requests more than one asset, the server can push them automatically. This too, was an enhancement over http 1.0
These are just some of the advancements offered by HTTP 2.0. These also make it possible to implement technologies like AJAX (sending data using javascript, asynchronously).
Recall that there are a total of 4 ways to send data over HTTP – HTTP Links (Gets), HTTP FOrms (Posts), HTTP Cookies (sent through headers automatically) and Javascript over HTTP. HTTP2 leverages all of these, but the javascript method more significantly.
Leave a Reply