16

What do I benefit from ssl_session_cache set in nginx.conf when I using https? See here.

1 Answer 1

16

When using SSL-Session-Cache, the performance of keep-alive connections over SSL might be enormously increased.

When the server does have it enabled, it is not necessary for the client to do a full SSL-handshake every request, thus saving time and cpu-resources.

You can read up more here: http://vincent.bernat.im/en/blog/2011-ssl-session-reuse-rfc5077.html

And here is a benchmark: http://www.peterbe.com/plog/ssl_session_cache-ab

Hope this helps.

4
  • 1
    Why is it set to none by default?
    – DylanYoung
    Apr 14, 2020 at 21:44
  • 1
    The question was raised here: serverfault.com/questions/998053/… It seems nobody knows. Maybe memory concerns?
    – NeedCoffee
    Apr 15, 2020 at 5:41
  • lol, funny. Thanks for the link.
    – DylanYoung
    Apr 15, 2020 at 15:34
  • 1
    Without ssl_session_cache shared:SSL:10m; Apple products cannot access the nginx server via SLL
    – schoetbi
    Sep 7, 2020 at 20:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .