aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 9ee1c250b..959caf7ef 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -271,7 +271,7 @@ class ApplicationController < ActionController::Base
# Set cache headers for Squid reverse proxy in front of application
def cache_in_squid(max_age = 10)
response.headers["Vary"] = 'Cookie, Accept-Encoding'
- expires_in max_age.minutes, :private => false
+ expires_in max_age.minutes, :public => true
end
# URL generating functions are needed by all controllers (for redirects),