ol.clave.acme.impl.directory-cache
Global directory cache with TTL for ACME directory responses.
ACME directories rarely change, so caching them avoids unnecessary network requests for long-running servers managing many domains.
The cache is keyed by directory URL with a 12-hour default TTL. Stale entries remain until replaced (no background cleanup).
cache-get
(cache-get url)
(cache-get url ttl-ms)
Returns cached directory for url if present and fresh, else nil.
cache-put!
(cache-put! url directory)
Stores directory in cache with current timestamp. Returns directory.