Module cache_control

Source
Expand description

Functions and utilities to help parse Cache-Control headers

Structs§

CacheControl
Parsed Cache-Control directives
DirectiveValue
Cache control directive value type
ListValueIter
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§

InterpretCacheControl
InterpretCacheControl provides a meaningful interface to the parsed CacheControl. 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§

DirectiveKey
Cache control directive key type
DirectiveMap
An ordered map to store cache control key value pairs.