News for hackers. Stuff that matters.
Re:Ultra fast Thunderbolt NAS with Apple M1 and Linux by interactivecode on Wednesday August 04, 2021 @04:36PM (#28065986)
you should use the built in lazy loading https://caniuse.com/loading-lazy-attr or intersection observer for this https://developer.mozilla.org/en-US/docs/Web/API/Intersectio...
Re:Ultra fast Thunderbolt NAS with Apple M1 and Linux by SilverRed on Wednesday August 04, 2021 @09:06PM (#28068507)
Is there really a need for lazy loading a blog page over just providing a height and width attribute and letting the browser work it out?
Re:Ultra fast Thunderbolt NAS with Apple M1 and Linux by cyberge99 on Wednesday August 04, 2021 @11:31PM (#28069535)
Not a need, per se, but it's an SEO recommendation according to web.dev measure. Both are actually recommended.