Interface CacheOptions

type CacheOptions

Hierarchy

  • CacheOptions

Properties

defTimeout?: number

(optional) default timeout of cache entries. 0 for unlimited (default: 1-day)

endpoint?: string

(optional) cache server endpoint (not required for dummy-cache)

ns?: string

(optional) namespace. used as cache key prefix to avoid key collision between different services

type?: "memcached" | "redis"

(optional) cache backend type (default: 'redis')

Generated using TypeDoc