TTFB measures the duration from the user or client making an HTTP request to the first byte of the page being received by the client's browser.
TTFB calculates the period between when a user submits an HTTP request and when the initial data for a web page is delivered to the client's browser.