26
loading...
This website collects cookies to deliver better user experience
GET /index.html
<HTML>
Hello World
</HTML>
GET /index.html HTTP/1.0
User-Agent: NCSA_Mosic/2.0 (Windows 3.1)
200 OK
Date: Tue, 15 Nov 1995 05:12:22 GMT
Server: CERN/3.- libwww/2.17
Content-Type: text/html
<HTML>
Hello World
<img src="/image.gif"/>
</HTML>
1 Request & 1 Response Per Connection.
This causes two main problems, 1. performance drops due to the new connection every time, and 2. cost inefficiency due to the server load.Persistent Connection
which allows to receive multiple requests and send multiple responses for certain amount of times by using timeout parameters. Also, 1.1 applies pipelining
which allows the server not to wait for the response, but to receive all requests in order and responses at once in order. This reduces the delay time of the communication between the client and the server. pipelining
function causes a major problem called Head Of Line Blocking
. Basically, if three requests were happened, and the initial request takes time to resolve, then the rest needs to be wait for the initial request to be resolved and be ready to respond. Head Of Line Blocking
.