Skip to content

Instantly share code, notes, and snippets.

Created March 19, 2015 10:48
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 anonymous/d09df366b169dd8283ab to your computer and use it in GitHub Desktop.
Save anonymous/d09df366b169dd8283ab to your computer and use it in GitHub Desktop.
stash:
caches:
default:
drivers:
# When using multiple webservers, you must use Memcache or Redis
- Memcache
inMemory: true
registerDoctrineAdapter: false
ezpublish:
http_cache:
purge_type: local
(...)
system:
frontend_group:
content:
view_cache: true # Activates HttpCache for content
ttl_cache: true # Activates expiration based HttpCache for content (very fast)
default_ttl: 60 # Number of seconds an Http response is valid in cache (if ttl_cache is true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment