diff options
author | francis <francis> | 2009-07-14 23:02:06 +0000 |
---|---|---|
committer | francis <francis> | 2009-07-14 23:02:06 +0000 |
commit | 0ceafaed64afbb0fd5875ee010ad76151f0564fc (patch) | |
tree | 650f6908a91fd529880cb92a7635182fe73bc212 /app/controllers/general_controller.rb | |
parent | 5a34a09c42b26094588c18033bc749febe7819d5 (diff) |
Cache a few more things with Squid.
Diffstat (limited to 'app/controllers/general_controller.rb')
-rw-r--r-- | app/controllers/general_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb index db533a4e4..edc80c5b9 100644 --- a/app/controllers/general_controller.rb +++ b/app/controllers/general_controller.rb @@ -5,7 +5,7 @@ # Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: general_controller.rb,v 1.48 2009-07-14 22:48:50 francis Exp $ +# $Id: general_controller.rb,v 1.49 2009-07-14 23:02:06 francis Exp $ class GeneralController < ApplicationController @@ -30,7 +30,7 @@ class GeneralController < ApplicationController @successful_requests = [] end - expires_in 10.minutes, :private => false + expires_in 10.minutes, :private => false # cache via squid reverse proxy end # Just does a redirect from ?query= search to /query |