Browse Source

HTTP response times debugging trick

master
lhark 4 years ago
parent
commit
c074485b0a
  1. 3
      how_to

3
how_to

@ -1151,6 +1151,9 @@ cURL cheatsheet:
curl -v <URL>
Follow redirects:
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:
Renew expired GPG public keys:

Loading…
Cancel
Save