Imagine that you’re trying to view a web page on the website www.j2tmedia.com. This is how the Http connects your browser to the server.
Browser: Hello Server www.j2tmedia.com, can I please have the content of this website?
ServerXYZ: Hey there browser, here you go, I’ve sent the text files of www.j2tmedia.com
ServerXYZ: Sure, I’m sending the files one at a time.
- Here are the required images.
- Here is the other required data.
This process continues until all the data of a webpage from the server is transferred to the browser. Since the files are transferred one by one, there is always a loading time to view the complete webpage. This is where HTTP2 comes to your rescue; it reduces the waiting and loading time of websites.