kinetex - v1.4.0
    Preparing search index...

    Interface CacheEntry

    A single entry stored in the cache with metadata and response data.

    interface CacheEntry {
        response: CacheableResponse;
        createdAt: number;
        expiresAt: number;
        staleUntil: number;
        staleOnError: number;
        etag: string | null;
        lastModified: string | null;
        varyKey: string | null;
        mustRevalidate?: boolean;
        tags: string[];
        size: number;
    }
    Index
    response: CacheableResponse

    The cached response payload

    createdAt: number

    Timestamp when the entry was created

    expiresAt: number

    Absolute expiry timestamp. Infinity = never expires

    staleUntil: number

    End of the stale-while-revalidate window

    staleOnError: number

    End of the stale-if-error window

    etag: string | null

    ETag header value for conditional revalidation

    lastModified: string | null

    Last-Modified header value for conditional revalidation

    varyKey: string | null

    Hash of Vary-relevant request headers (null = Vary:*)

    mustRevalidate?: boolean

    The response carried Cache-Control: no-cache or must-revalidate, so it may be stored but must not be reused without revalidating with the origin (RFC 9111 §5.2.2.4). Absent on entries persisted by an older version.

    tags: string[]

    Tags for group invalidation

    size: number

    Approximate entry size in bytes