Caching configured using file_store

This commit is contained in:
Christoph Haas 2016-06-28 17:12:32 +02:00
parent c0109eb6e7
commit 1928f8d2a8
2 changed files with 9 additions and 2 deletions

View file

@ -9,9 +9,13 @@ Debshots::Application.configure do
# Do not eager load code on boot.
config.eager_load = false
# Show full error reports and disable caching.
# Show full error reports
config.consider_all_requests_local = true
# Disable caching (except for working on caching)
config.action_controller.perform_caching = false
# config.action_controller.perform_caching = true
# config.cache_store = :file_store, "#{Rails.root.to_s}/tmp/cache/filestore"
# Don't care if the mailer can't send.
config.action_mailer.raise_delivery_errors = false