sonata_cache.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # more information can be found here http://sonata-project.org/bundles/cache
  2. #sonata_cache:
  3. # caches:
  4. ## esi:
  5. ## servers:
  6. ## - varnishadm -T 127.0.0.1:2000 {{ COMMAND }} "{{ EXPRESSION }}"
  7. ##
  8. ## ssi:
  9. ## token: TheToken
  10. ##
  11. ## mongo:
  12. ## database: cache
  13. ## collection: cache
  14. ## servers:
  15. ## - {host: 127.0.0.1, port: 27017, user: username, password: pASS'}
  16. ## - {host: 127.0.0.2}
  17. ##
  18. ## memcached:
  19. ## prefix: test # prefix to ensure there is no clash between instances
  20. ## servers:
  21. ## - {host: 127.0.0.1, port: 11211, weight: 0}
  22. ##
  23. ## predis:
  24. ## servers:
  25. ## - {host: 127.0.0.1, port: 11211, database: 6379}
  26. ##
  27. ## apc:
  28. ## token: s3cur3 # token used to clear the related cache
  29. ## prefix: test # prefix to ensure there is no clash between instances
  30. ## servers:
  31. ## - { domain: kooqit.local, ip: 127.0.0.1, port: 80}
  32. #
  33. # symfony:
  34. # token: s3cur3 # token used to clear the related cache
  35. # php_cache_enabled: true # Optional (default: false), clear OPcache
  36. ## types: [mytype1, mycustomtype2] # Optional, you can restrict allowed cache types
  37. ## servers:
  38. ## - { domain: kooqit.local, ip: 127.0.0.1, port: 80 }
  39. ## timeout:
  40. ## RCV: { sec: 2, usec: 0 }
  41. ## SND: { sec: 2, usec: 0 }