[cache] Update cache control header
This commit is contained in:
parent
4d000009f5
commit
0269c7e107
|
@ -107,6 +107,6 @@ class Api::BaseController < ApplicationController
|
|||
end
|
||||
|
||||
def set_cache_headers
|
||||
response.headers['Cache-Control'] = 'private'
|
||||
response.headers['Cache-Control'] = 'private, max-age=10'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -11,6 +11,6 @@ class Settings::BaseController < ApplicationController
|
|||
end
|
||||
|
||||
def set_cache_headers
|
||||
response.headers['Cache-Control'] = 'private'
|
||||
response.headers['Cache-Control'] = 'private, max-age=10'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue