Sha256: e54a75f31eedb59e42bd431910d5b19cce961fe49feb4ea3763d61f269dcd727
Contents?: true
Size: 526 Bytes
Versions: 43
Compression:
Stored size: 526 Bytes
Contents
Rails.application.configure do config.cache_classes = false config.eager_load = false config.consider_all_requests_local = true if Rails.root.join('tmp/caching-dev.txt').exist? config.action_controller.perform_caching = true config.cache_store = :memory_store config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=172800' } else config.action_controller.perform_caching = false config.cache_store = :null_store end config.active_support.deprecation = :log end
Version data entries
43 entries across 43 versions & 1 rubygems