-
Notifications
You must be signed in to change notification settings - Fork 228
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
Preload the image-set background images #6535
Comments
@DahmaniAdame @benorfaz There's also another background There's a possible edge case when CC @Mai-Saad |
Note: related test page on e2e |
PHP part is handled for this case. |
Expected data structure in DB for LCP:
Same will apply for ATF. |
Preload `image-set` & `webkit-image-set`
Preload `image-set` & `webkit-image-set`
Before submitting an issue please check that you’ve completed the following steps:
Describe the bug
As a part of 3.16 scope we need to preload the image-set background images when they're detected as LCP.
Expected behavior
Input:
or
Output:
Acceptance Criteria (for WP Media team use only)
LCP
image-set
declaration, they'll be added to theimagesrcset
attributefetchpriority="high"
is added to the preload markupAbove the fold
The text was updated successfully, but these errors were encountered: