Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you enable SSL sessions for your HTTPS service?

Following on from the best answer here: How much overhead does SSL impose?

Is there a way to optimise SSL beyond a simple apache SSL install?

From the best answer given on that page I infer that there is some way to set-up persistent SSL sessions over multiple calls (where there is less handshake overhead). Is that correct?

If so, what's the best resource to learn about configuring the server to work that way?

like image 295
Justin Vincent Avatar asked Mar 28 '26 19:03

Justin Vincent


1 Answers

SSL session caching is one optimization, which you can configure for Apache by looking at the discussion here. Look at the SSLSessionCache directive and related.

This will boost your performance for usage patterns that have the same client hitting the server multiple times within the session timeout period. However, when the pattern tends more toward one server hit per client for numerous clients, you won't see any speedups.

like image 128
President James K. Polk Avatar answered Apr 02 '26 15:04

President James K. Polk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!