ebs/config/packages/cache.yaml
2023-12-21 08:49:38 +01:00

23 lines
836 B
YAML

framework:
cache:
# Unique name of your app: used to compute stable namespaces for cache keys.
prefix_seed: platformecoop/ebs
# The "app" cache stores to the filesystem by default.
# The data in this cache should persist between deploys.
# app: cache.adapter.filesystem
# Other options include:
# Redis
app: cache.adapter.redis
default_redis_provider: "%env(REDIS_URL)%"
# APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)
#app: cache.adapter.apcu
# Namespaced pools use the above "app" backend by default
pools:
# Specific pool for Geolocation stuff
cache.geoloc:
adapter: cache.app
default_lifetime: 3600