Skip to content
AsterDrive
Security update: Docker images from v0.4.0-rc.1 fix the high-severity FFmpeg MagicYUV decoder vulnerability (CVE-2026-8461). Upgrade instances using older images immediately.View CVE advisory
Security update: v0.4.0-beta.3 fixes a WebDAV request issue that can terminate the server process. Upgrade older instances promptly.View advisory

Cache

[cache]
backend = "memory"
endpoint = ""
default_ttl = 3600

For single-node, NAS, personal, or small-team deployments, the memory cache is enough. Redis is worth adding only in these two cases:

  • Multi-instance deployments
  • Multiple application instances need to share cache data
OptionDefaultPurpose
backend"memory"memory or redis
endpoint""Redis connection URL, used only when backend = "redis"
default_ttl3600Default TTL in seconds

If backend is set to redis but Redis cannot be reached, AsterDrive will automatically fall back to memory cache and continue running.

The service usually will not fail to start just because Redis is temporarily unavailable, but cache will no longer be shared across instances.

Terminal window
ASTER__CACHE__BACKEND=memory
ASTER__CACHE__ENDPOINT=redis://127.0.0.1:6379/0
ASTER__CACHE__DEFAULT_TTL=3600