Expand description
Generic caching functionality for NGDP components
This crate provides a flexible caching system for NGDP-related data including:
- Generic cache for arbitrary data
- CDN content cache (config, data, patch, indices)
- Ribbit response cache
- Cached clients for Ribbit, TACT, and CDN protocols
Re-exports§
pub use cdn::CdnCache;pub use error::Error;pub use error::Result;pub use stats::CacheReport;pub use stats::CacheStats;pub use stats::CacheStatsSnapshot;
Modules§
- cached_
cdn_ client - Cached wrapper for CDN client
- cached_
ribbit_ client - Cached wrapper for RibbitClient
- cached_
tact_ client - Cached wrapper for TACT HTTP client
- cdn
- CDN content cache implementation
- error
- Error types for the ngdp-cache crate
- generic
- Generic cache implementation for arbitrary data
- hybrid_
version_ client - Hybrid version discovery client that prioritizes HTTP over legacy Ribbit
- ribbit
- Ribbit response cache implementation
- stats
- Cache statistics tracking and reporting
Functions§
- get_
cache_ dir - Get the base NGDP cache directory