kinetex - v1.0.0-rc.1
    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;
        tags: string[];
        size: number;
    }
    Index

    Properties

    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:*)

    tags: string[]

    Tags for group invalidation

    size: number

    Approximate entry size in bytes