DEV Community

BoltGrab
BoltGrab

Posted on

Why TLS 1.3 Cuts HTTPS Handshake Latency in Half

Every HTTPS connection starts with a TCP handshake followed by a TLS handshake. On high-latency mobile or international links, those round-trips add noticeable delay before the first byte of data moves.

TLS 1.2: 2 Round-Trips

In TLS 1.2, the client and server first had to agree on a cipher suite (ClientHello → ServerHello) and only then exchange key material (ClientKeyExchange) before encrypted application data could flow. That meant 2 full round-trips (2-RTT) after TCP connected.

TLS 1.3: 1 Round-Trip (and 0-RTT Resumption)

TLS 1.3 simplifies this by assuming the client can send its Diffie-Hellman key_share right inside the initial ClientHello. The server responds with its own key_share and Finished in a single round-trip, allowing the client to start sending encrypted HTTP requests immediately (1-RTT).

With session resumption (PSK), repeat connections can even send early data in 0-RTT (though 0-RTT is only safe for idempotent requests like GET due to replay risks).

Cleaner Security Defaults

TLS 1.3 also dropped static RSA key exchange, CBC-mode ciphers, SHA-1, and MD5—making Perfect Forward Secrecy (PFS) mandatory on every connection.

Top comments (0)