HTTP response times debugging trick

This commit is contained in:
lhark 2021-11-22 22:16:29 +01:00
parent 7218fb8885
commit c074485b0a

3
how_to
View file

@ -1151,6 +1151,9 @@ cURL cheatsheet:
curl -v <URL> curl -v <URL>
Follow redirects: Follow redirects:
curl -L <URL> curl -L <URL>
Debug HTTP request response times:
# https://susam.in/maze/timing-with-curl.html
curl -L -w "time_namelookup: %{time_namelookup}\ntime_connect: %{time_connect}\ntime_appconnect: %{time_appconnect}\ntime_pretransfer: %{time_pretransfer}\ntime_redirect: %{time_redirect}\ntime_starttransfer: %{time_starttransfer}\ntime_total: %{time_total}\n" https://example.com/
GPG: GPG:
Renew expired GPG public keys: Renew expired GPG public keys: