Environment Variables
Boolean flags default to false when unset.
| Variable | Type | Default | Config Keys | Description | Source |
|---|---|---|---|---|---|
CACHE_DRIVER | string | "memory" | cache.driver | Cache driver to use: `memory`, `file`, or `redis`. Install the required peer dependency for non-memory drivers: - `file`: no extra packages needed. - `redis`: requires `ioredis`. / | cache.ts |
CACHE_FILE_FOLDER | string | ".cache" | cache.file.folder | Configuration value from environment. Config key: `cache.file.folder`. | cache.ts |
CACHE_REDIS_DB | int | 0 | cache.redis.db | Configuration value from environment. Config key: `cache.redis.db`. | cache.ts |
CACHE_REDIS_HOST | string | "127.0.0.1" | cache.redis.host | Configuration value from environment. Config key: `cache.redis.host`. | cache.ts |
CACHE_REDIS_KEY_PREFIX | string | "quik:cache:" | cache.redis.keyPrefix | Configuration value from environment. Config key: `cache.redis.keyPrefix`. | cache.ts |
CACHE_REDIS_PASSWORD | string | "" | cache.redis.password | Configuration value from environment. Config key: `cache.redis.password`. | cache.ts |
CACHE_REDIS_PORT | int | 6379 | cache.redis.port | Configuration value from environment. Config key: `cache.redis.port`. | cache.ts |