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§
- Functions and utilities to help parse Cache-Control headers
- Cache eviction module
- Utility functions to help process HTTP headers for caching
- Concurrent hash tables and LRUs
- Cache key
- Cache lock
- Set limit on the largest size to cache
- Metadata for caching
- Cacheability Predictor
- Cache Put module
- Cache backend storage abstraction
- Distributed tracing helpers
Structs§
- The state machine for http caching
- Information collected about the caching operation that will not be cleared
- Hash map based in memory cache
- 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§
- This reflects the phase of HttpCache during the lifetime of a request
- Freshness state of cache hit asset
- The possible reasons for not caching
- Response cacheable decision
Functions§
- Set the header compression dictionary, which helps serialize http header.