Skip to content
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

core(render-blocking-resources): reduce metric savings if LCP is an image #15694

Merged
merged 2 commits into from
Dec 20, 2023

Conversation

adrianaixba
Copy link
Collaborator

Render blocking resources most of the time don't affect the LCP if the LCP is an image. In these cases, we should avoid overestimating the potential LCP savings. If the LCP is an image we set potential savings to 0, else we use our fcp savings.

@adrianaixba adrianaixba marked this pull request as ready for review December 19, 2023 00:49
@adrianaixba adrianaixba requested a review from a team as a code owner December 19, 2023 00:49
@adrianaixba adrianaixba requested review from adamraine and removed request for a team December 19, 2023 00:49
@adrianaixba adrianaixba merged commit 8ab8cc5 into main Dec 20, 2023
29 checks passed
@adrianaixba adrianaixba deleted the rb-use-lcp branch December 20, 2023 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants