Expand description
Proxy cache management: LRU eviction, TTL-based staleness, and utilisation tracking.
Provides a simple in-memory cache that tracks proxy files by path, access time, and hit count. Eviction strategies include LRU (least-recently used), TTL (time-to-live), and LFU (least-frequently used).
Structs§
- Cache
Entry - A single entry in the proxy cache.
- Disk
Bounded Cache - A disk-space-bounded LRU proxy cache that automatically evicts entries when the configured space limit would be exceeded.
- Disk
Cache Stats - Statistics snapshot for a
DiskBoundedCache. - Proxy
Cache - In-memory proxy cache with configurable capacity.
Enums§
- Cache
Policy - Eviction policy for the proxy cache.