Match Chrome behavior when it comes to accepting images as LCP elements
Categories
(Core :: DOM: Performance APIs, enhancement, P3)
Tracking
()
People
(Reporter: bas.schouten, Unassigned)
Details
Attachments
(1 file)
Chrome has been looking at how to reduce 'LCP cheating'. One of the things they were doing is checking the entropy of the image and if it's too low it doesn't qualify. The 'entropy' check, when I talked to them was just looking at the compressed file size. This shouldn't be too difficult for us to do as well. See also: https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/speed/metrics_changelog/2023_04_lcp.md
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Comment 2•2 years ago
|
||
There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:sefeng, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.
Comment 3•2 years ago
|
||
See the discussion in the patch.
Comment 4•11 months ago
|
||
Blocked on spec change to add entropy calculation.
Description
•