Actions
Patch #37664
openPreload all stylesheets and JavaScripts
Patch #37664:
Preload all stylesheets and JavaScripts
Status:
New
Priority:
Normal
Assignee:
-
Category:
Performance
Target version:
Description
All browsers usually block HTML from rendering when loading stylesheets and javascript. Preloading the stylesheet and javascript with the link element or Link header can avoid this block.
Rails 6.1 has a feature that automatically preloads stylesheets and javascript, so enable it.
Please see https://github.com/rails/rails/pull/39939 and https://github.com/rails/rails/pull/40882 .
Files
Actions