Skip to main content

Module cache

Module cache 

Source
Expand description

Optional discovery caching.

Caching is opt-in and must never be used as a security boundary. Stale entries are performance artifacts, not authoritative filesystem state.

Structs§

CacheKey
Cache key capturing all inputs that affect discovery results.
CacheOptions
Configuration for a discovery cache instance.
CacheValue
Cached discovery result.
MemoryCache
Thread-safe in-memory discovery cache.
PersistentCachepersistent-cache
Persistent on-disk cache (feature persistent-cache).

Enums§

CacheMode
Cache storage mode.
CachePolicy
Whether / how a search should consult the cache.

Traits§

DiscoveryCache
Trait for discovery result caches.