Initial commit
This commit is contained in:
7
app/controllers/application_controller.rb
Normal file
7
app/controllers/application_controller.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class ApplicationController < ActionController::Base
|
||||
# Only allow modern browsers supporting webp images, web push, badges, import maps, CSS nesting, and CSS :has.
|
||||
allow_browser versions: :modern
|
||||
|
||||
# Changes to the importmap will invalidate the etag for HTML responses
|
||||
stale_when_importmap_changes
|
||||
end
|
||||
Reference in New Issue
Block a user