Skip to content

Instantly share code, notes, and snippets.

@0GiS0
Created Jan 29, 2019
Embed
What would you like to do?
framework:
cache:
# Put the unique name of your app here: the prefix seed
# is used to compute stable namespaces for cache keys.
#prefix_seed: your_vendor_name/app_name
# The app cache caches to the filesystem by default.
# Other options include:
# Redis
app: cache.adapter.redis
default_redis_provider: redis://%redis.host%:%redis.port%
# 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: ~
pools:
app.cache.redis:
adapter: cache.adapter.redis
default_lifetime: 86400
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment