CURL - TTFB Measure: Difference between revisions
From IT-Arts.net
imported>Z No edit summary |
m Text replacement - "Category:Post-It" to "Category:Wiki" |
||
| Line 1: | Line 1: | ||
[[Category: | [[Category:Wiki]] | ||
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. | 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. | ||
Revision as of 14:52, 8 December 2025
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>
