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

Lazy-load images which are not visible in any breakpoint #1077

Open
westonruter opened this issue Mar 21, 2024 · 0 comments
Open

Lazy-load images which are not visible in any breakpoint #1077

westonruter opened this issue Mar 21, 2024 · 0 comments
Labels
[Plugin] Optimization Detective Issues for the Optimization Detective plugin [Type] Feature A new feature within an existing module

Comments

@westonruter
Copy link
Member

Feature Description

Add loading=lazy to any image which is not visible across all breakpoints (cf. comment), unless the image is located in the header in which case it should get fetchpriority=low (as it is likely in some drop-down menu).

Conversely, make sure that loading is omitted from any image that is visible in the initial viewport of any breakpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Plugin] Optimization Detective Issues for the Optimization Detective plugin [Type] Feature A new feature within an existing module
Projects
Status: Not Started/Backlog 📆
Development

No branches or pull requests

2 participants