preload_link_headers.rb 361 B

12345678
  1. # Since Rails 6.1, ActionView adds preload links for javascript files
  2. # in the Links header per default.
  3. # In our case, that will bloat headers too much and potentially cause
  4. # issues with reverse proxies. Furthermore, we don't need those links,
  5. # as we already output them as HTML link tags.
  6. Rails.application.config.action_view.preload_links_header = false