[cache] Change the base cache control to private

This commit is contained in:
Fosco Marotto 2021-01-12 16:42:58 -05:00
parent e689409a72
commit 46ca48b1a8
2 changed files with 2 additions and 2 deletions

View File

@ -107,6 +107,6 @@ class Api::BaseController < ApplicationController
end end
def set_cache_headers def set_cache_headers
response.headers['Cache-Control'] = 'no-cache, no-store, max-age=0, must-revalidate' response.headers['Cache-Control'] = 'private'
end end
end end

View File

@ -11,6 +11,6 @@ class Settings::BaseController < ApplicationController
end end
def set_cache_headers def set_cache_headers
response.headers['Cache-Control'] = 'no-cache, no-store, max-age=0, must-revalidate' response.headers['Cache-Control'] = 'private'
end end
end end