-
Notifications
You must be signed in to change notification settings - Fork 433
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
Why I get LCP less than FCP? #369
Comments
In theory this shouldn't be possible on a single page load. Do you have a URL where this can be reproduced? |
This is happening here because the LCP image is loaded cross-origin, so it's full timing information is not available and the API can only expose the If you want to enable full timing data for cross-origin images, you can add the See this related issue for more details: #260 (comment) |
Thanks @philipwalton ! After adding Timing-Allow-Origin header using chrome plugin, I get the correct value. |
Javascript code
console log

The LCP element is an image and it's

preload
ed.My Chrome version: Version 114.0.5735.198 (Official Build) (x86_64)
The text was updated successfully, but these errors were encountered: