Extend custom CSS cache time with digest paths (#33207)
This commit is contained in:
parent
b3243ef41c
commit
c0264c8013
11 changed files with 142 additions and 6 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
class CustomCssController < ActionController::Base # rubocop:disable Rails/ApplicationController
|
||||
def show
|
||||
expires_in 3.minutes, public: true
|
||||
expires_in 1.month, public: true
|
||||
render content_type: 'text/css'
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue