SSL performance optimization with cache

justin nginx-forum at nginx.us
Fri Dec 14 02:45:19 UTC 2012


Hello,

I am optimizing our install of nginx for SSL performance, since our SaaS app
is served exclusively over https. I have the following SSL performance
directives:

    ssl_session_cache shared:SSL_CACHE:4m;
    ssl_session_timeout 5m;

My question is, what is the downfall, if any, of setting the timeout to like
720m which is 12 hours. Seems like caching longer would be better. Or, is
there a security risk of caching for such a long time?

Thanks.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,233990,233990#msg-233990



More information about the nginx mailing list