prorm API Reference
    Preparing search index...

    Interface L2CacheOptions

    L2 Cache options for distributed cache layer

    interface L2CacheOptions {
        enabled?: boolean;
        defaultTtl?: number;
    }
    Index
    enabled?: boolean

    Enable L2 (Redis) cache

    true
    
    defaultTtl?: number

    Default TTL for L2 cache entries in seconds

    3600 (1 hour)