Skip to content

Instantly share code, notes, and snippets.

@weaverryan
Last active February 10, 2016 17:48
Show Gist options
  • Select an option

  • Save weaverryan/e5a2629bb76602565436 to your computer and use it in GitHub Desktop.

Select an option

Save weaverryan/e5a2629bb76602565436 to your computer and use it in GitHub Desktop.
cache configuration
cache:
adapters:
my_adapter:
type: array
default_lifetime: 600
other_adapter:
type: apc
caches:
# creates a service cache.store_cool_stuff
store_cool_stuff:
adapter: my_adapter
namespce: 'ACME__'
store_other_stuff:
adapter: my_adapter:
namespce: 'OTHER___'
framework:
validation:
cache: cache.store_cool_stuff:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment