alex / alex/what-happens-when

0x11. What happens when you type google.com in your browser and press Enter

Ouverte
#2,444 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Aucune donnée de langage
Étoiles
43.3k
Forks
5.7k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

What happens when you type google.com in your browser?

When one types google.com and presses enter, the browser takes several steps, which can be as follows:
. Resolves the IP address of the URL via DNS
. Generate an HTTP request with headers (user-agent, cookie, accept)
. Open an HTTP connection to the resolved IP address
. Send the request to the server
. Receive the response from the server
. Parse response headers
. Perform additional operations depending on the response header
. Decompress the response body if it's compressed
. Parse the HTML code inside the response body
. Resolves any additional resources (Scripts, Images, etc)
. Start loading those resources via their URLs using the same steps
. Render the HTML as soon as the required resources are loaded, and continue loading the remaining resources in the background.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.