Configuration interface for query result caching with TTL-based expiration

interface QueryCacheConfig {
    cacheKey?: "exact" | "fuzzy";
    enabled: boolean;
    inheritFromCategory?: boolean;
    maxCacheSize?: number;
    ttlMinutes: number;
}

Properties

cacheKey?: "exact" | "fuzzy"

Cache key strategy - exact parameter matching vs. pattern matching

enabled: boolean

Whether caching is enabled for this query

inheritFromCategory?: boolean

Whether to inherit settings from parent category

maxCacheSize?: number

Maximum number of cached result sets for this query

ttlMinutes: number

Time-to-live in minutes for cached results