From d943b1c7622198d87bf719af6b0afddf9148d00e Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Sun, 21 May 2023 10:50:00 +1000 Subject: [PATCH] Don't cache admin pages --- slices/admin/action.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/slices/admin/action.rb b/slices/admin/action.rb index 4524c3d..28394ac 100644 --- a/slices/admin/action.rb +++ b/slices/admin/action.rb @@ -3,5 +3,8 @@ module Admin class Action < Adamantium::Action + config.default_headers = { + "Cache-Control" => "no-cache" + } end end