Permalink
Browse files

sample extended cache_timeout

  • Loading branch information...
1 parent cd36634 commit 7460a25b9cf646c7a43d5550b876d203740d3c1d @saturnflyer saturnflyer committed Mar 18, 2010
Showing with 6 additions and 1 deletion.
  1. +6 −1 config/environments/production.rb
@@ -16,4 +16,9 @@
# config.action_controller.asset_host = "http://assets.example.com"
# Disable delivery errors if you bad email addresses should just be ignored
-# config.action_mailer.raise_delivery_errors = false
+# config.action_mailer.raise_delivery_errors = false
+
+# Cache your content for a longer time, the default is 5.minutes
+# config.after_initialize do
+# SiteController.cache_timeout = 12.hours
+# end

0 comments on commit 7460a25

Please sign in to comment.