Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Type Alias ImageStats

    what the proxy counted since it started; bytesIn and bytesOut cover converted responses only

    type ImageStats = {
        bytesIn: number;
        bytesOut: number;
        cacheHits: number;
        coalesced: number;
        converted: number;
        lazied: number;
        responsive: number;
        skipped: Record<string, number>;
    }
    Index
    bytesIn: number
    bytesOut: number
    cacheHits: number
    coalesced: number

    requests that waited for an encode another request had already started

    converted: number
    lazied: number

    <img> and <iframe> tags that got loading="lazy"

    responsive: number

    <img> tags that got a srcset of spool-w variants

    skipped: Record<string, number>

    Requests and responses left as they were, by the first test that failed: path, accept, range, authorization, status, type, set-cookie, size-min, size-max, larger (the encoder's output was not smaller), failed (the encoder threw), timeout (the encoder ran past timeoutMs) and not-modified (answered 304 without encoding).