[−][src]Crate http_cache_semantics
Tells when responses can be reused from a cache, taking into account HTTP RFC 7234 rules for user agents and shared caches.
It's aware of many tricky details such as the Vary header, proxy revalidation, and authenticated responses.
Structs
| CachePolicy | Identifies when responses can be reused from a cache, taking into account HTTP RFC 7234 rules for user agents and shared caches. It's aware of many tricky details such as the Vary header, proxy revalidation, and authenticated responses. |
| CachePolicyOptions | Holds configuration options which control the behavior of the cache and are independent of any specific request or response. |
| RevalidatedPolicy | New policy and flags |
Traits
| RequestLike | Allows using either Request or request::Parts, or your own newtype. |
| ResponseLike | Allows using either Response or response::Parts, or your own newtype. |