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

Prioritize: use Early Hints for images in embed facades (iframes with srcdoc). #1

Open
andyj2022 opened this issue Jun 24, 2022 · 0 comments

Comments

@andyj2022
Copy link

On our website we can preload the main image that will be LCP, except in the case of pages whose main image is inside a "facade" (for example, a Youtube video thumbnail), since we use the srcdoc of an iframe, and preloading is useless, because Chrome returns to download it later (does not use the image that was preloaded). This doesn't just affect preloads with Early Hints, but any use of preloads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant