express-memorize - v1.2.0
    Preparing search index...

    Interface CacheEntry

    The raw data stored for a cached response.

    interface CacheEntry {
        body: unknown;
        contentType: string;
        expiresAt: number | null;
        statusCode: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    body: unknown

    The serialized response body, as passed to res.send().

    contentType: string

    Value of the Content-Type response header (e.g. application/json; charset=utf-8).

    expiresAt: number | null

    Unix timestamp (ms) at which the entry expires, or null if it never expires.

    statusCode: number

    HTTP status code of the cached response (e.g. 200, 201).