Live data from Hacker News

New WebKit features in Safari 15.4

webkit.org

71–80 of 311 posts

Re: New WebKit features in Safari 15.4

#71
post #57

> WebKit added support for lazy-loading images with the loading attribute on the element, providing web developers with an easy way to instruct the browser to defer loading certain images until the user scrolls near them Maybe there's hope that I can then just turn this off on a browser level? I've got gigabit internet at home, and your images popping in on scroll makes it feel like I'm on dial up. Lazy loading image…

Whenever I open an article I just hold the spacebar until the full article and all images have loaded, then scroll back up

Re: New WebKit features in Safari 15.4

#72
post #69
post #63

Earlier quoted context omitted.

> Lazy loading images is at best user hostile bandwidth saving It can easily be the vast majority of bandwidth spend even on a lightweight site. Add video widgets and bring that closer to 99%. Lazy loading is frequently a "can afford an extra 5 full time engineers" optimization

> Lazy loading is frequently a "can afford an extra 5 full time engineers" optimization I find this figure suspect. I work on a site with millions of users whose core service is essentially displaying a stream of images to end users, and our spend on CDN bandwidth is barely into five figures

I suspect he was talking about the cost, not the benefit

Re: New WebKit features in Safari 15.4

#73
post #57

> WebKit added support for lazy-loading images with the loading attribute on the element, providing web developers with an easy way to instruct the browser to defer loading certain images until the user scrolls near them Maybe there's hope that I can then just turn this off on a browser level? I've got gigabit internet at home, and your images popping in on scroll makes it feel like I'm on dial up. Lazy loading image…

If you don’t have gigabit internet (i.e. most people), then it’s not so user hostile.

In my experience it's more user hostile the worse your connection, because they have to sit and watch the images load for an even longer amount of time than I do, whereas it could have kept loading for them ahead of time.

Where without lazy loading they could normally get up and get a cup of coffee and come back, you are now actively wasting their time as they scroll.

Re: New WebKit features in Safari 15.4

#77
post #57

> WebKit added support for lazy-loading images with the loading attribute on the element, providing web developers with an easy way to instruct the browser to defer loading certain images until the user scrolls near them Maybe there's hope that I can then just turn this off on a browser level? I've got gigabit internet at home, and your images popping in on scroll makes it feel like I'm on dial up. Lazy loading image…

If you don’t have gigabit internet (i.e. most people), then it’s not so user hostile.

Honestly, it's more so. Greedy loading means that on a slower connection images will load before you scroll to them. If you're lazy loading, the request doesn't kick in until later, so you'll be waiting for images to load.

It's good for mobile devices, since you can save on usage caps (which should be illegal, but that's a digression).

Re: New WebKit features in Safari 15.4

#78
> Apps on iOS, iPadOS, and macOS can now control allowing or preventing web content from using the Fullscreen API.

Too bad Safari still does not offer this as a toggle on iPadOS. I really hate the fullscreen video players on my iPad. They are mostly unusable with touch. Maybe it can be controlled using an Extension?

Re: New WebKit features in Safari 15.4

#79
post #49

Now all major browsers support the element without polyfill. Yay! https://developer.mozilla.org/en-US/docs/Web/HTML/Element/di...

And just like that, Safari has surpassed Chrome in interop 2022 https://wpt.fyi/interop-2022

Click stable. Safari is nowhere close.
Post reply on HN