-
-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Critical path JS and CSS files #487
Labels
Milestone
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A idea for new metrics:
These metrics would help developers to optimize their critical path and use technics like critical CSS extraction.
It might be a little hard to detect, the solution is to detect by elimination.
For a CSS: it's in the head, it was loaded before domContentLoaded, and it was not injected by appendChild or insertBefore.
For a JS: same as a CSS file + it wasn't a
<script **async**>
.For a font: a little bit harder to detect. Checking if it was loaded before domContentLoaded should handle 99% of the cases.
It looks possible to me, but quite experimental :)
The text was updated successfully, but these errors were encountered: