Expand description
Cacheable request types and traits.
This module provides types for determining whether requests should be cached and extracting cache keys from them:
CacheableRequest- Trait for request types that can participate in cachingCacheablePolicyData- Request bundled with its cache keyRequestCachePolicy- Type alias for request cache decisions
§Request Processing Flow
When a request is processed:
- Predicates evaluate whether the request should be cached
- Extractors generate the cache key from request components
- The result is either
Cacheable(with key) orNonCacheable
Structs§
- Cacheable
Policy Data - A cacheable request bundled with its generated cache key.
Traits§
- Cacheable
Request - Trait for request types that can participate in caching.
Type Aliases§
- Request
Cache Policy - Cache policy for requests.