Skip to content

End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

OpenSSL::SSL::SSLContext#session_cache_size=

ctx.session_cache_size=(integer) → Integer

Sets the session cache size. Returns the previously valid session cache size. Zero is used to represent an unlimited session cache size.