Skip to content

Instantly share code, notes, and snippets.

@0GiS0
Created January 29, 2019 22:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0GiS0/30908756dd150aeb1083f93c6839e0c8 to your computer and use it in GitHub Desktop.
Save 0GiS0/30908756dd150aeb1083f93c6839e0c8 to your computer and use it in GitHub Desktop.
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