From 9dbee02cbfe8b61641e8220ed60f000b566b1534 Mon Sep 17 00:00:00 2001 From: Jeremy Walker Date: Wed, 28 Aug 2024 13:58:04 +0100 Subject: [PATCH] Improve caching --- config/environments/development.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/environments/development.rb b/config/environments/development.rb index a1d979ad71..8f71ba86d3 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -35,6 +35,7 @@ # Enable/disable caching. By default caching is disabled. # Run rails dev:cache to toggle caching. if Rails.root.join('tmp', 'caching-dev.txt').exist? + config.cache_classes = true config.action_controller.perform_caching = true config.action_controller.enable_fragment_cache_logging = true