Skip to main content

Module cache

Module cache 

Source
Expand description

The client’s in-process cache type.

Backed by PortableCache: a runtime-agnostic cache (capacity + TTL/TTI eviction, single-flight get_with) that builds on every target, including wasm32.

Re-exports§

pub use crate::portable_cache::PortableCache as Cache;

Enums§

Freshness
Selects whether an operation may use an existing snapshot or must refresh it from its authoritative source before returning.