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

    Type Alias DictionaryStats

    What the proxy counted since it started: registered is the dictionaries stored (new content hashes), encoded the responses sent as dcb or dcz, bytesIn and bytesOut the plain and encoded sizes of those responses, and skipped the eligible responses left plain by reason: unavailable (the request named no dictionary the proxy holds, or accepted no coding offered), size, larger (the encoded body was not smaller), failed (the encoder threw), range and pattern (the path cannot be written as a match pattern).

    type DictionaryStats = {
        bytesIn: number;
        bytesOut: number;
        encoded: number;
        registered: number;
        skipped: Record<string, number>;
    }
    Index
    bytesIn: number
    bytesOut: number
    encoded: number
    registered: number
    skipped: Record<string, number>