Enable caching
This commit is contained in:
parent
480dbd1a64
commit
c5816a3f43
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ Rails.application.configure do
|
||||||
# Full error reports are disabled and caching is turned on.
|
# Full error reports are disabled and caching is turned on.
|
||||||
config.consider_all_requests_local = false
|
config.consider_all_requests_local = false
|
||||||
config.action_controller.perform_caching = true
|
config.action_controller.perform_caching = true
|
||||||
|
config.perform_caching = true
|
||||||
config.cache_store = :memory_store
|
config.cache_store = :memory_store
|
||||||
|
|
||||||
# Enable Rack::Cache to put a simple HTTP cache in front of your application
|
# Enable Rack::Cache to put a simple HTTP cache in front of your application
|
||||||
|
|
Loading…
Reference in a new issue