Ask Your Question

Revision history [back]

How does non persistent parallel HTTP connections work?

I have asked similar question earlier here as well, but at that time I wasn’t very clear about my question and my question was unclear, long and vague and I guess because of that many skipped that question.

Now I am 100% clear about my question.

https://i.stack.imgur.com/UepU0.png

Here 1. First RTT is for TCP connection establishment

  1. Second RTT is to request the webpage and response(few bytes that gives structure of the page). Say the base file contains 2 elements called element1 and element2.

  2. Third RTT could be to establish the TCP Connection again

  3. Fourth RTT could be to request for the element1 and receive its response.

But it is receiving multiple responses, I don't understand how?

And when do the TCP Connections close, in which order?

This is how I believe it should be occurring: https://i.stack.imgur.com/gTVgZ.jpg

How does non persistent parallel HTTP connections work?

I have asked similar question earlier here as well, but at that time I wasn’t very clear about my question and my question was unclear, long and vague and I guess because of that many skipped that question.

Now I am 100% clear about my question.

https://i.stack.imgur.com/UepU0.png

Here 1. Here

  1. First RTT is for TCP connection establishment

    1. Second RTT is to request the webpage and response(few bytes that gives structure of the page). Say the base file contains 2 elements called element1 and element2.

    2. Third RTT could be to establish the TCP Connection again

    3. Fourth RTT could be to request for the element1 and receive its response.

    But it is receiving multiple responses, I don't understand how?

    And when do the TCP Connections close, in which order?

    This is how I believe it should be occurring: https://i.stack.imgur.com/gTVgZ.jpg