HTTP directives

ssl_certificate_cache directive (HTTP)

Cache certificates and private keys selected using variable paths. Bound memory and reload age; rotation must account for cache lifetime. Restrict variable-derived paths to known identities. Context: http, server. Documented default: off. Version: 1.27.4. OSS documentation; verify library and build. Partial configuration for an isolated synthetic lab; not a production policy.

Formal Syntax & Structure

nginx syntaxnginx
ssl_certificate_cache off | max=N [inactive=time] [valid=time];

Parameters & Attributes

NameTypeDescription
offliteral offDisable caching; alternative to enabled form.
maxmax=positive integerRequired in enabled form; bounds cached elements.
inactiveinactive=durationRemove unused elements after the interval; default 10s.
validvalid=durationReuse before refreshing; default 60s.

Working Example

Example Snippetnginx
ssl_certificate_cache max=32 inactive=15s valid=45s;
Nginx Reference