repletes - v1.1.0
    Preparing search index...

    Interface CacheControlOptions

    interface CacheControlOptions {
        fallback: Windows;
        shared?: boolean;
        staleIfError?: number;
        staleWhileRevalidate?: number;
        storable?: (status: number) => boolean;
    }
    Index
    fallback: Windows

    Used when the response says nothing. Every window still has to be a number you chose; an upstream that is silent is not an upstream that is telling you zero.

    shared?: boolean

    Read s-maxage and refuse private. Defaults to true.

    staleIfError?: number

    Used when the response carries no stale-if-error.

    staleWhileRevalidate?: number

    Used when the response carries no stale-while-revalidate.

    storable?: (status: number) => boolean

    Which statuses are worth writing down. Defaults to 2xx.