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
}

Variants§

§

Public

Fields

§responder: R
§max_age: u32
§must_revalidate: bool
§

Private

Fields

§responder: R
§max_age: u32
§

NoCache(R)

§

NoStore(R)

§

NoCacheControl(R)