Expand description
Cache Pre-Warming
Implements a cache pre-warming system that generates and tracks warming jobs based on common query patterns, ensuring the prompt cache is populated with frequently-requested content before real traffic arrives.
§Key Types
WarmingStrategy— controls which patterns are expanded into jobsWarmingPattern— a parameterised template with variable substitutionsCacheWarmer— orchestrates job generation and status tracking
Structs§
- Cache
Warmer - Orchestrates cache pre-warming across a set of
WarmingPatterns. - Warming
Job - A single unit of warming work.
- Warming
Pattern - A template with named variable slots and their possible values.
- Warming
Stats - Aggregate statistics for a
CacheWarmersession.
Enums§
- Warming
Status - Life-cycle status of a single warming job.
- Warming
Strategy - Strategy governing which patterns the warmer expands into jobs.