trailcache_core/cache/mod.rs
1//! Local caching module for offline data access.
2//!
3//! This module provides the `CacheManager` for storing and retrieving
4//! troop data locally. Data is cached in JSON format and considered
5//! stale after 60 minutes.
6//!
7//! Cached data types include:
8//! - Youth, Adults, Parents
9//! - Events
10//! - Advancement dashboard and progress data
11//! - Patrols
12
13pub mod fetch;
14pub mod manager;
15pub mod offline;
16pub mod refresh;
17
18pub use fetch::fetch_with_cache;
19pub use manager::{CacheAges, CacheManager};
20pub use offline::{cache_all_for_offline, CacheProgress};
21pub use refresh::{refresh_base_data, RefreshResult as BaseRefreshResult};