3 ms·
Good reasons not to use SSL: SSL has a significant number of required packet exchanges at startup, so latency for small objects is much larger; this is especia
by toast0 13y ago
Good reasons not to use SSL:
SSL has a significant number of required packet exchanges at startup, so latency for small objects is much larger; this is especially noticeable if there's a high round trip time between the client and server.
SSL blocks proxy caching.
The CA situation isn't great; especially if you're supporting older mobile clients, which basically never update their root certs.
Debugging is harder (and HTTP/2 already gets complaints about that)
- acdha 13y ago> SSL has a significant number of required packet exchanges at startup This is improving, however – see e.g. http://www.igvita.com/2013/10/24/optimizing-tls-record-size-and-buffering-latency/ http://www.igvita.com/2013/10/24/optimizing-tls-record-size-... > SSL blocks proxy caching This is only true for involuntary transparent proxying, which is also a huge source of reliability problems. After seeing how many times JavaScript is broken or images are degraded by "helpful" ISPs I'm quite happy to change the model to something which requires the client to opt-in to enable a proxy.
- toast0 13y ago> This is improving, however – see e.g. http://www.igvita.com/2013/10/24/optimizing-tls-record-size-and-buffering-latency/ http://www.igvita.com/2013/10/24/optimizing-tls-record-size-... That's interesting (and I'll try to apply it where i'm running SSL), but what I'm more worried about is the very beginning of the connection. http://chimera.labs.oreilly.com/books/1230000000545/ch04.html#TLS_HANDSHAKE http://chimera.labs.oreilly.com/books/1230000000545/ch04.htm... SSL adds two extra round trips, which doubles the latency of a small request. This is really unfortunate when you're in a high latency environment already.