Expand description
API Response Caching Layer with ETag Support
Reduces serialization overhead and bandwidth by caching API responses with:
- TTL-based expiration
- ETag support for conditional requests (304 Not Modified)
- Hit ratio tracking and statistics
- Optional pre-warming on startup
Structsยง
- ApiResponse
Cache - Thread-safe API response cache
- Cache
Stats - Cache statistics for observability