hydra-sql/config/packages/cache.yaml

20 lines
686 B
YAML
Raw Permalink Normal View History

2022-04-07 11:49:17 +02:00
framework:
cache:
# Unique name of your app: used to compute stable namespaces for cache keys.
#prefix_seed: your_vendor_name/app_name
# The "app" cache stores to the filesystem by default.
# The data in this cache should persist between deploys.
# Other options include:
# Redis
app: cache.adapter.redis
2023-12-12 08:47:41 +01:00
default_redis_provider: '%env(REDIS_DSN)%'
2022-04-07 11:49:17 +02:00
# 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:
#my.dedicated.cache: null