Blog

Chrome receives more tweaks to help save data

More improvements are coming to Chrome to help reduce data consumption. On this occasion, the efficiency of the lazy loading function has been improved, which allows the loading of objects on a web almost at the moment they are going to be displayed on the screen and not when they are accessed at first. herself.

In this sense, Addy Osmani, Google’s engineering manager, has pointed out in several publications the improvements carried out in this function, which has been integrated into Chrome since last year, just with the release of version 76.

On the one hand, he has pointed out that the thresholds of the function have been reduced when displaying the images, specifying that it has been reduced from 3000px to 1250px of distance when using slow connections, while it has been reduced from 4000px to 2500px of distance when using faster connections.

In general terms, the images will load when they are closest to being displayed on the screen, or in other words, their loading will be delayed a little longer until almost when it reaches the visible part of the web on screen.

With these settings, you are trying to achieve the same level of efficiency as lazy-loading JavaScript libraries, such as lazysizes, that web developers can implement directly on their websites.

But also, he adds in another post, that lazy loading will also start to work for iframes, those elements that are loaded on a website from a third-party website, both in Chrome and in Chromium-based web browsers.

To give several examples, the use of the YouTube widget or the Spotify widget, to name two platforms that allow content to be shared on third-party websites through the use of iframes.

Well, as we say, the lazy loads will also apply to the iframes, ideal to avoid a lot of data consumption when accessing a website loaded with videos and other elements from third-party platforms.

All this will obviously result in more savings in data consumption, ideal for those who have contracted very fair data rates, and that any savings are always welcome to reach the end of the billing cycle.

Of course, those websites that have implemented support for this function in all their code can take advantage of the lazy loading function in Chrome and derivatives of Chromium.

Interested parties can learn more about the lazy loading function, also present in other browsers, on this website.

Back to top button

Ad blocker detected

You must remove the AD BLOCKER to continue using our website THANK YOU