Discussion Locked

clicking a web link

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Does anyone know what sort of client/server interaction goes on at the HTTP level, from when you click a link on a web page, up till the time the web page loads? I think there is a GET request involved, as well as interaction between user agents, but I'm not sure.

4 replies

by ds9

When you click on a web link, your browser will first access one of the 13 world wide root servers. The root server will send back to your browser the IP number and location of both the primary and secondary DNS name servers. Next, your browser willrequest the web site information from the name servers. The NS servers will tell your browser the locations of the WEB server itself, where the HOME page is located. Finally, your browers requests the INDEX.html or DEFAULT.htm file from that server.Your browser will then begin to "read" the index page to find out how to present the pages information to your screen, i.e., where to place the text, background color if any, and then to access the file locations for any graphics and/or sound to be presented to your computer/monitor.

The amazing part of all of this, is that most of the speed of light action takes place in about 3 to 7 seconds (except for the actual load time of bloated graphics etc.)

Hope this is what your looking for.George

by ds9

P.S., The "Get" request that you refer to is actually the embeded request in the home page which "Get's" the pictures from a file some where, or possibly other items for the home page such as "Local time, date, data from a database file).

George

This discussion is closed to new replies.