Cache onboarding at edge (#6966)
This commit is contained in:
parent
2c49b34ebf
commit
22ffc7febc
2 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
class OnboardingsController < ApplicationController
|
||||
before_action :authenticate_user!
|
||||
before_action :set_cache_control_headers, only: %i[show]
|
||||
|
||||
def show; end
|
||||
def show
|
||||
set_surrogate_key_header "onboarding-slideshow"
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -2,3 +2,4 @@
|
|||
CacheBuster.bust("/shell_top")
|
||||
CacheBuster.bust("/shell_bottom")
|
||||
CacheBuster.bust("/async_info/shell_version")
|
||||
CacheBuster.bust("/onboarding")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue