Expand description
The HTTP caching layer for proxies.
Re-exports§
pub use key::CacheKey;
pub use meta::CacheMeta;
pub use meta::CacheMetaDefaults;
pub use storage::HitHandler;
pub use storage::MissHandler;
pub use storage::PurgeType;
pub use storage::Storage;
Modules§
- cache_
control - Functions and utilities to help parse Cache-Control headers
- eviction
- Cache eviction module
- filters
- Utility functions to help process HTTP headers for caching
- hashtable
- Concurrent hash tables and LRUs
- key
- Cache key
- lock
- Cache lock
- max_
file_ size - Set limit on the largest size to cache
- meta
- Metadata for caching
- predictor
- Cacheability Predictor
- prelude
- put
- Cache Put module
- storage
- Cache backend storage abstraction
- trace
- Distributed tracing helpers
Structs§
- Http
Cache - The state machine for http caching
- Http
Cache Digest - Information collected about the caching operation that will not be cleared
- MemCache
- Hash map based in memory cache
- Variance
Builder - A builder for variance keys, used for distinguishing multiple cached assets at the same URL. This is intended to be easily passed to helper functions, which can each populate a portion of the variance.
Enums§
- Cache
Phase - This reflects the phase of HttpCache during the lifetime of a request
- HitStatus
- Freshness state of cache hit asset
- NoCache
Reason - The possible reasons for not caching
- Resp
Cacheable - Response cacheable decision
Functions§
- set_
compression_ dict_ path - Set the header compression dictionary, which helps serialize http header.