http_types/cache/mod.rs
1//! HTTP caching.
2//!
3//! Web page performance can be significantly improved by caching resources.
4//! This submodule includes headers and types to communicate how and when to
5//! cache resources.
6//!
7//! # Further Reading
8//!
9//! - [MDN: HTTP Caching](https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching)
10
11mod age;
12mod cache_control;
13mod clear_site_data;
14mod expires;
15
16pub use age::Age;
17pub use cache_control::CacheControl;
18pub use cache_control::CacheDirective;
19pub use clear_site_data::{ClearDirective, ClearSiteData};
20pub use expires::Expires;