A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Glossary/Time_to_first_byte below:

Time to first byte - MDN Web Docs Glossary: Definitions of Web-related terms

Time to first byte

Time to First Byte (TTFB) refers to the time between the browser requesting a page and when it receives the first byte of information from the server. This time includes DNS lookup and establishing the connection using a TCP handshake and TLS handshake if the request is made over HTTPS.

TTFB is the time it takes between the start of the request and the start of the response, in milliseconds. This can be measured using the responseStart attribute of PerformanceNavigationTiming:

const ttfb = performance.getEntriesByType("navigation")[0].responseStart;

Note: For sites using 103 Early Hints, TTFB is typically the first bytes (after any redirects) — and so, the 103 interim response. Site owners wishing to measure the time until the final response should use finalResponseHeadersStart, where supported.

See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3