Skip to main content

Module cache

Module cache 

Source
Expand description

The Cache type โ€” the heart of the library.

This is the Rust counterpart of IFusionCache. The marquee method is Cache::get_or_set; its flow encodes cache-stampede protection, fail-safe, soft/hard timeouts with background completion, eager refresh, adaptive caching and conditional refresh. See docs/PARITY.md for the mapping to FusionCache.

Structsยง

Cache
A robust, multi-level cache.
CacheBuilder
Builder for a Cache.