Will SSL Encryption slow down page load? If so, how do I estimate the impact on performance for my web application?
“HTTPS sites also load significantly faster. In a test on HTTP vs HTTPS.com, the unsecured version of the page loads 334% slower than HTTPS.” – A3 Creative Solutions.
HTTP vs HTTPS Performance. In general, HTTP is faster than HTTPS due to its simplicity. In HTTPS, we have an additional step of SSL handshake unlike in HTTP. This additional step slightly delays the page load speed of the website.
When the page has SSL enabled, it requires extra round trips to establish a secure connection which impacts the site performance. Studies comparing HTTP/2 vs regular HTTPS transactions show that HTTP/2 is faster and more efficient as it allows multiplexing which has a positive impact on the page performance.
TLS overhead - SSL performance impactThere is some latency added when you switch to HTTPS. This is because the initial TLS handshake requires two extra roundtrips before the connection is established, compared to one through an unencrypted HTTP port.
This is a possible duplicate of several questions:
The last includes this answer, including: "non-SSL sockets are less than 10 times faster than SSL sockets". However, this can be a bit misleading - be sure to read the entire answer.
You can also mitigate the performance concern, at least on the server-side, by offloading the SSL processing to another device, e.g. a dedicated load balancer or firewall.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With