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

    Interface MemorizeOptions

    Options passed to the memorize factory.

    const cache = memorize({ ttl: 60_000 }); // cache entries live for 60 seconds
    
    interface MemorizeOptions {
        ttl?: number;
    }
    Index

    Properties

    Properties

    ttl?: number

    Default time-to-live for every cached entry, in milliseconds. Omit to cache indefinitely. Can be overridden per-route via MemorizeCallOptions.