Type Alias ImageStats
type ImageStats = {
bytesIn: number;
bytesOut: number;
cacheHits: number;
coalesced: number;
converted: number;
lazied: number;
responsive: number;
skipped: Record<string, number>;
}
bytesIn: number;
bytesOut: number;
cacheHits: number;
coalesced: number;
converted: number;
lazied: number;
responsive: number;
skipped: Record<string, number>;
}
Properties
bytes In
bytesIn: number
bytes Out
bytesOut: number
cache Hits
cacheHits: number
coalesced
coalesced: number
requests that waited for an encode another request had already started
converted
converted: number
lazied
lazied: number
<img> and <iframe> tags that got loading="lazy"
responsive
responsive: number
<img> tags that got a srcset of spool-w variants
skipped
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).
what the proxy counted since it started;
bytesInandbytesOutcover converted responses only