aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments/environment.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/environments/environment.rb')
-rw-r--r--railties/environments/environment.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/environments/environment.rb b/railties/environments/environment.rb
index 98518031fa..b6fd5e5f73 100644
--- a/railties/environments/environment.rb
+++ b/railties/environments/environment.rb
@@ -22,6 +22,10 @@ Rails::Initializer.run do |config|
# (create the session table with 'rake create_sessions_table')
# config.session_options[:database_manager] = CGI::Session::ActiveRecordStore
+ # Enable page/fragment caching by setting a file-based store
+ # (remember to create the caching directory and make it readable to the application)
+ # config.fragment_store = :file_store, "#{RAILS_ROOT}/cache"
+
# See Rails::Configuration for more options
end