RUSTLS_PLATFORM_VERIFIER_CACHE

Static RUSTLS_PLATFORM_VERIFIER_CACHE 

Source
static RUSTLS_PLATFORM_VERIFIER_CACHE: LazyLock<Arc<Verifier>>
Expand description

A cache for the default rustls platform verifier.

Instantiating a new verifier can be expensive, since it can read through all certificates: https://github.com/rustls/rustls-platform-verifier/blob/996b1c903491641b17b3c9afb65d1352f6fc6b76/rustls-platform-verifier/src/verification/others.rs#L92