GATE 2014 CS (CS2) – Question 38
A graphical HTML browser at Q fetches a static HTML page from HTTP server S. The page has exactly one static embedded image, also at S. With no caching, which is correct about loading the page and image?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (B) At least two HTTP requests; one TCP connection suffices
Explanation
Without caching, HTML and its separately referenced image require at least two HTTP requests. A persistent TCP connection can carry both request/response exchanges to the same server. Therefore **B**. Separate resources do not force separate TCP connections.