GoogleChrome / GoogleChrome/lighthouse

new_audit: flag if a resource is both preloaded and lazy-loaded

Open
#9,516 4 comments 0 reactions 0 assignees View on GitHub
needs-complete-audit-proposal new_audit P2
Dominant language
JavaScript
Stars
30.8k
Forks
9.8k
Avg merge
1d 20h
Merged PRs (30d)
19

Description

Consider:
```HTML

...

```

This is probably a developer mistake as it indicates both to preload and to defer the loading of the content which is contradictory, should Lighthouse care to warn in this case?

Currently lazy-loading is only applicable to `` and `` but I suspect other things will be added in the future, perhaps [background-images](https://github.com/w3c/webappsec-feature-policy/issues/311), video `poster`, SVG `<image>` and [`<portal>`](https://github.com/WICG/portals/issues/125#issuecomment-518566872).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.