kinetex - v0.0.2
    Preparing search index...

    Interface CacheConfig

    interface CacheConfig {
        key?: (request: RequestConfig) => string;
        store?: CacheStore;
        swr?: number;
        ttl?: number;
    }
    Index

    Properties

    Properties

    key?: (request: RequestConfig) => string

    Custom cache key function

    store?: CacheStore

    Custom cache store

    swr?: number

    stale-while-revalidate window in ms

    ttl?: number

    Cache TTL in ms. 0 = no cache