Open Bug 1890872 Opened 2 years ago Updated 11 months ago

Match Chrome behavior when it comes to accepting images as LCP elements

Categories

(Core :: DOM: Performance APIs, enhancement, P3)

enhancement

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

Assignee: nobody → sefeng
Attachment #9399170 - Attachment description: WIP: Bug 1890872 - WIP: LCP Entropy → Bug 1890872 - Implement LCP entropy r=emilio
Status: NEW → ASSIGNED

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.

Flags: needinfo?(sefeng)
Flags: needinfo?(emilio)

See the discussion in the patch.

Flags: needinfo?(sefeng)
Flags: needinfo?(emilio)

Blocked on spec change to add entropy calculation.

Assignee: sean → nobody
Status: ASSIGNED → NEW
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: