CURL - TTFB Measure

From Wiki.IT-Arts.net
Revision as of 10:58, 1 May 2024 by imported>Z (Created page with "Category:Post-It Time to first byte (TTFB) is a measurement used as an indication of the responsiveness of a webserver or other network resource. TTFB measures the durati...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Time to first byte (TTFB) is a measurement used as an indication of the responsiveness of a webserver or other network resource. 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.


Curl Command

curl -s -o /dev/null -H 'Cache-Control: no-cache' -w "Connect: %{time_connect} TTFB: %{time_starttransfer} Total time: %{time_total}\n" https://<TESTING_URL>

Where : - -s : --silent - -o : --output - -H : --header - -w : --write-out <FORMAT>