Expand description

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§

  • Configuration options which control behavior of the cache. Use with CachePolicy::new_options().
  • 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.

Enums§

Traits§

  • Allows using either Request or request::Parts, or your own newtype.
  • Allows using either Response or response::Parts, or your own newtype.