summaryrefslogtreecommitdiffstats
path: root/app/controllers/about_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/about_controller.rb')
-rw-r--r--app/controllers/about_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/about_controller.rb b/app/controllers/about_controller.rb
index 1043486140d..c4b7e9c9d26 100644
--- a/app/controllers/about_controller.rb
+++ b/app/controllers/about_controller.rb
@@ -8,7 +8,7 @@ class AboutController < ApplicationController
before_action :set_instance_presenter
def show
- expires_in 0, public: true unless user_signed_in?
+ expires_in(15.seconds, public: true, stale_while_revalidate: 30.seconds, stale_if_error: 1.day) unless user_signed_in?
end
private