navigation
Loading a new page in a tab, from typing an address or clicking a link to receiving and showing the new document.
In more detail
A navigation runs a fixed sequence: look up the host name in DNS, open a TCP connection, negotiate TLS, send the HTTP request and wait for the first byte of the response. Only then can the renderer start parsing the page. The Navigation Timing API records how long each of these steps took.
Related terms
- DNS — The system that turns names such as learnsome.tech into IP addresses.
- TCP — The internet protocol that delivers data between programs reliably and in order, used by the web and most databases.
- TLS — The encryption that protects data travelling over a network, the S in HTTPS.
- time to first byte — The time from starting a request until the first byte of the server's response arrives, covering connection setup, server work and travel time.
- Navigation Timing API — The part of the Performance API that records a timestamp for each step of loading the current page, from DNS lookup to the document being ready.
Taught in
- How Browsers Work: Navigation, DNS, TCP, TLS And Request Timing — Frontend Architecture & Web Platform
- CSRF Mitigations, SameSite Cookies And Subresource Integrity — Frontend Architecture & Web Platform