Expand description
Functions and utilities to help parse Cache-Control headers
Structs§
- Cache
Control - Parsed Cache-Control directives
- Directive
Value - Cache control directive value type
- List
Value Iter - An iter over all the cache control directives
Enums§
- Cacheable
- Cacheability calculated from cache control.
Constants§
- DELTA_
SECONDS_ OVERFLOW_ VALUE - The max delta-second per RFC 9111
Traits§
- Interpret
Cache Control InterpretCacheControl
provides a meaningful interface to the parsedCacheControl
. These functions actually interpret the parsed cache-control directives to return the freshness or other cache meta values that cache-control is signaling.
Type Aliases§
- Directive
Key - Cache control directive key type
- Directive
Map - An ordered map to store cache control key value pairs.