[cache] Change the base cache control to private
This commit is contained in:
@@ -107,6 +107,6 @@ class Api::BaseController < ApplicationController
|
||||
end
|
||||
|
||||
def set_cache_headers
|
||||
response.headers['Cache-Control'] = 'no-cache, no-store, max-age=0, must-revalidate'
|
||||
response.headers['Cache-Control'] = 'private'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -11,6 +11,6 @@ class Settings::BaseController < ApplicationController
|
||||
end
|
||||
|
||||
def set_cache_headers
|
||||
response.headers['Cache-Control'] = 'no-cache, no-store, max-age=0, must-revalidate'
|
||||
response.headers['Cache-Control'] = 'private'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user