© 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_3

3. DOMContentLoaded Time

Matthew Edgar1  
(1)
Centennial, CO, USA
 

After the server sends the first byte of data to the browser for the requested page, the server continues sending additional data to the browser. This includes sending the requested webpage’s HTML code. The browser processes and analyzes the HTML code to determine how to construct the page. Nothing is displayed for visitors yet and the more HTML code there is for the browser to process, the longer it will take to reach the steps where visitors are able to see something.

What DOMContentLoaded Measures

DOMContentLoaded (DCL)

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.