Answered step by step
Verified Expert Solution
Question
1 Approved Answer
QUESTION 4 A client requests an HTML file that references four other objects, all on a server, accessible via the Internet. HTTP/1.1 with persistent mode
QUESTION 4 A client requests an HTML file that references four other objects, all on a server, accessible via the Internet. HTTP/1.1 with persistent mode is used. Any request satisfied by the client's organization-level DNS or Web cache takes 0 ms. For requests that need to go on the Internet, the following delays are observed. A DNS query that is not served by the DNS cache takes 6 ms. The HTML file and each object request referenced in the file take 5 ms each to transmit from the server. The round-trip time (RTT) to the server is 1 ms. The transmission times of TCP segments with no data or containing only HTTP GET or status messages are ignored. The time required by the client to process the HTML file and issue requests for the objects referenced there in is negligible. Assuming that the client's browser initiates the GET request at time 0 seconds, calculate the following. Case A: The organization's DNS cache and the Web cache that serve the client are empty. The client's browser cache is empty. The client's TCP initiates the TCP connection request at time ms. The client sends HTTP GET request at time ms. The client receives the HTML file, but not the four objects referenced in it, at time ms. The client receives the first of the four objects referenced in the HTML file at time ms. THe client receives all four objects referenced by the file at time ms. Case B: The DNS cache has the server information and the Web cache has a local copy of the HTML file but not the objects reference within the file. The client's browser cache is empty. The client's TCP initiates the TCP connection request at time ms. The client sends HTTP GET request at time ms. The client receives the HTML file, but not the four objects referenced in it, at time ms. The client receives the first of the four objects referenced in the HTML file at time ms. The client receives all four objects referenced by the file at time ms
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started