Fix caching logic with regards to Accept-Language, Cookie, and Signature (#24604)
This commit is contained in:
parent
5dc3173ef8
commit
58a1b2e330
12 changed files with 62 additions and 45 deletions
|
@ -6,6 +6,8 @@ module WebAppControllerConcern
|
|||
included do
|
||||
prepend_before_action :redirect_unauthenticated_to_permalinks!
|
||||
before_action :set_app_body_class
|
||||
|
||||
vary_by 'Accept, Accept-Language, Cookie'
|
||||
end
|
||||
|
||||
def set_app_body_class
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue