Changes between Version 1 and Version 2 of Ticket #53675, comment 5
- Timestamp:
- 07/18/2021 08:10:22 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #53675, comment 5
v1 v2 13 13 Yes, but thinking these plugins should be adding the `loading` attribute to their HTML themselves. Such plugins can usually detect when a widget is at the top, in the sidebar, or in the footer. 14 14 15 Looking at FSE/template parts, can probably use the same approach as with widgets: add `loading="eager"` when the image or iframe is expected to be at the top/above the fold, and `loading="lazy"` when in the middle of the page or in the footer.15 Looking at FSE/template parts, can probably use the same approach as with widgets: while editing add `loading="eager"` when the image or iframe is expected to be at the top/above the fold, and `loading="lazy"` when in the middle of the page or in the footer. 16 16 17 17 Lets look at this during 5.9.