@drupflare/spool - v0.1.0
    Preparing search index...

    Type Alias ThirdPartyConfig

    The opt-in worker cache for cross-origin files. Only an origin in allow is touched, and only a response the worker can read (a CORS answer) for a URL that looks versioned, or one the origin marks immutable, is kept. Everything else goes to the network untouched.

    type ThirdPartyConfig = {
        allow: string[];
        allowOpaque?: boolean;
        maxEntries?: number;
        revalidateAfterMs?: number;
        versioned?: string[];
    }
    Index
    allow: string[]

    origins whose GET requests the worker may answer from its copy, such as https://fonts.gstatic.com

    allowOpaque?: boolean

    keep opaque (no-cors) responses, which Chromium counts as about 7 MB each against quota; default false

    maxEntries?: number

    most files held; the oldest go first; default 64

    revalidateAfterMs?: number

    a copy of an unversioned file is checked again at a network moment once it is this old; default one day

    versioned?: string[]

    extra patterns, as regular expression sources, that mark a URL as versioned