The Role of HTML Payload Size in TTFB, FCP, and the 14KB TCP Window
When a web browser requests an HTML document, the initial TCP/IP connection starts in the "Slow Start" phase. In modern TCP congestion control (RFC 6928), the Initial Congestion Window (initcwnd) is typically 10 TCP packets (~14KB to 15KB of data). If an HTML document exceeds 14KB uncompressed, the browser must execute an additional network Round Trip Time (RTT) before it can begin parsing the DOM and discovering critical CSS/JS sub-resources. Minifying the HTML payload helps fit the critical rendering path within the very first round trip, accelerating First Contentful Paint (FCP) and Time to Interactive (TTI).
<!-- Before Minification: 412 Bytes with Whitespace & Comments -->
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Site Meta Configuration -->
<meta charset="UTF-8" />
<title>WebCraftKit Developer Tools</title>
<style>
body {
margin: 0;
background-color: #0f172a;
}
</style>
</head>
<body>
<h1>Fast HTML</h1>
</body>
</html>