© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
M. EdgarSpeed Metrics Guidehttps://doi.org/10.1007/979-8-8688-0155-6_2

2. Time to First Byte (TTFB)

Matthew Edgar1  
(1)
Centennial, CO, USA
 

Retrieving DNS information is the first of many steps involved in loading a webpage. Next, the browser and server need to establish a connection. Once the connection is established, the browser sends the server details about the webpage visitors requested and the server starts building the necessary files to fulfill the visitor’s request. As the files are prepared, the server sends the files for this webpage to the browser one byte at a time. Visitors, meanwhile, see a blank screen while the browser and server do this ...

Get Speed Metrics Guide: Choosing the Right Metrics to Use When Evaluating Websites now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.