CURL - TTFB Measure: Difference between revisions
From Wiki.IT-Arts.net
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...") |
imported>Z No edit summary |
||
Line 11: | Line 11: | ||
Where : | Where : | ||
* '''-s''' : --silent | |||
* '''-o''' : --output | |||
* '''-H''' : --header | |||
* '''-w''' : --write-out <FORMAT> |
Latest revision as of 10:58, 1 May 2024
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>