Stone.js API
    Preparing search index...

    Options for the Redis store.

    interface RedisStoreOptions {
        client?: unknown;
        driver: CacheDriver;
        name: string;
        options?: Record<string, unknown>;
        prefix?: string;
        ttl?: number;
        url?: string;
        [key: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    Index
    client?: unknown

    An existing ioredis client to reuse instead of creating one.

    driver: CacheDriver

    Which driver backs this store.

    name: string

    The store name, used to resolve it via cacheManager.store(name).

    options?: Record<string, unknown>

    Inline ioredis options (host/port/password/db/tls…) when no url/client is given.

    prefix?: string

    A key prefix/namespace applied to every key in this store.

    ttl?: number

    Default TTL (seconds) applied when a write specifies none.

    url?: string

    A Redis connection URL (e.g. redis://localhost:6379).