Rapid-fire: how do you measure where time goes in an HTTPS request?
BeginnerProductionRapid-Fire Commands
Answer
curl -o /dev/null -sS -w 'dns=%{time_namelookup} tcp=%{time_connect} tls=%{time_appconnect} ttfb=%{time_starttransfer} total=%{time_total}\n' https://example.com
Subtract consecutive values to get each phase's own duration.
More on Rapid-Fire Commands
Rapid-fire: how do you see which process listens on port 443?BeginnerRapid-fire: how do you check DNS resolution against a specific server?BeginnerRapid-fire: how do you find the route and source IP used to reach 10.1.2.3?BeginnerRapid-fire: how do you test TCP reachability without telnet?BeginnerRapid-fire: how do you show the TLS certificate expiry of a live site?BeginnerRapid-fire: how do you send a request to a specific backend IP while keeping the Host header and SNI?Beginner