Question d’entretien chez Yahoo

How does a browser go about displaying a web page?

Réponse à la question d'entretien

Utilisateur anonyme

15 mars 2013

1) User enters URL 2) Browsers checks the cache if the page exists there. If it does, it displays it or else follows the following steps: 3) requests the DNS server for the IP address of the URL 4) Once it has that, it does a TCP connection to the server 5) Sends an HTTP request to the server and receives an HTTP Response for it 6) Checks the reponse. It could be a redirect/error/.. 7) If the returned response is cacheable, it caches it 8) Checks the data, eg if it is an HTML page then it renders/displays it

1