Type Alias rocket_include_static_resources::CacheResponse
source · pub type CacheResponse<R> = CacheResponsePro<'static, 'static, R>;
Expand description
The responder with a Cache-Control
header.
Aliased Type§
enum CacheResponse<R> {
Public {
responder: R,
max_age: u32,
must_revalidate: bool,
},
Private {
responder: R,
max_age: u32,
},
NoCache(R),
NoStore(R),
NoCacheControl(R),
// some variants omitted
}