diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-06-20 09:46:03 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-06-20 09:46:03 +0100 |
commit | 76839f2090b7f1ca943439ddd794728518eda46a (patch) | |
tree | 3d42f3f52c3304eb72fda65f3f3dda2be3e2cf80 /app/controllers/request_controller.rb | |
parent | b94559f7966b9db71fae3a9d2bbcac5216712699 (diff) |
Increase the time a page is cached for sites that are using Varnish. Relatedly, document the consequences of getting the Varnish config wrong; and make it easier to grep for problems with Varnish in the log.
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r-- | app/controllers/request_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index aa770e151..89d49ba57 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -46,7 +46,7 @@ class RequestController < ApplicationController end def show - medium_cache + long_cache @locale = self.locale_from_params() PublicBody.with_locale(@locale) do |