Advertisement
histry

Untitled

Apr 16th, 2014
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. # Configure the cache_store by environment. Should be a hash at top level, one
  2. # key per environment, with configuration hashes as values.
  3. test:
  4. cache_store: redis_store
  5. development:
  6. cache_store: redis_store
  7. #
  8. # # normally you'll want to define your redis servers in config/redis.yml and
  9. # # not here, so that they are used for data as well as cache storage.
  10. #
  11. # # the only reason to define a server list here is if you want to use a
  12. # # separate redis instance for cache and for data.
  13. #
  14. # servers:
  15. # - localhost
  16. # database: 0
  17. #
  18. #
  19. #
  20. # # alternatively you can use memcached. however canvas requires redis for
  21. # # some features, such as OAuth2, so it's simpler to just use redis for
  22. # # caching as well.
  23. #
  24. # cache_store: mem_cache_store
  25. #
  26. # if no servers are specified, we'll look in config/memcache.yml
  27. # servers:
  28. # - localhost
  29. production:
  30. cache_store: redis_store
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement