Use :redis_store as cache_store

This commit is contained in:
Vokhmin Alexey V 2015-11-05 22:06:40 +03:00
parent 756b2a9366
commit 3470edf813
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ Rails.application.configure do
# Use a different cache store in production. # Use a different cache store in production.
# config.cache_store = :mem_cache_store # config.cache_store = :mem_cache_store
config.cache_store = (ENV["REDIS_URL"].to_s + '/cache'), { expires_in: 10.minutes } config.cache_store = :redis_store, (ENV["REDIS_URL"].to_s + '/cache'), { expires_in: 10.minutes }
# Enable serving of images, stylesheets, and JavaScripts from an asset server. # Enable serving of images, stylesheets, and JavaScripts from an asset server.
# config.action_controller.asset_host = "http://assets.example.com" # config.action_controller.asset_host = "http://assets.example.com"