TLDR Web Dev · ARTICLES & TUTORIALS
HOW TO MAKE YOUR WEB PAGE FASTER BEFORE IT EVEN LOADS
Summary from the TLDR Web Dev newsletter
Events that occur before the first byte of data is received by the browser are called pre-TTFB (Time to First Byte) events. The PerformanceNavigationTiming API captures these pre-TTFB events and provides insights into processes like DNS lookup, connection establishment, and TLS negotiation. This article explores optimization strategies for these events, such as caching, DNS configuration, and minimizing request waterfalls.