Response caching is disabled by default. Enable it globally and configure per-app or per-endpoint via theDocumentation Index
Fetch the complete documentation index at: https://docs.draskencloud.com/llms.txt
Use this file to discover all available pages before exploring further.
cache policy field.
Enable Caching Globally
Cache Policy
Fields
| Field | Default | Description |
|---|---|---|
enabled | false | Enable caching for this app/endpoint |
ttl_secs | 60 | Time-to-live for cached entries in seconds |
vary_on | — | Request header names mixed into the cache key |
cache_control_passthrough | true | Honour upstream Cache-Control: no-store/no-cache/private |
cache_methods | ["GET","HEAD"] | HTTP methods to cache |
Apply to an App
Purge Cache
Backends
| Backend | Notes |
|---|---|
memory | In-process LRU cache. Lost on restart. Single instance only |
redis | Shared across instances. Recommended for multi-pod deployments |
memcached | Alternative shared cache |