Crate ngdp_cache

Source
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;

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
ribbit
Ribbit response cache implementation

Functions§

get_cache_dir
Get the base NGDP cache directory