Google Chrome now supports lazy load to help loading pages faster than before

0

Google Chrome now adds support for lazy loading iFrames to help loading pages faster than before

A year back, Google added Lazy loading support for images to Chrome in version 76. Chrome Eng manager, Addy Osmani on July 24 announced Chrome and Chromium browsers now support Lazy Loading of iframes and says its a standard now. The integration of the feature comes right after Google introduced support for the lazy loading of images in Chromium and Chrome. Mozilla’s Firefox web browser supports the lazy loading of images as well.

The Google Chrome feature Lazy loading loads the contents of the web page on-demand, which means that it won’t be downloaded and displayed until you scroll down and get them in the view, thus decreasing the initial website startup speed. As mentioned, the lazy loading of images has been available on Chrome since last year, but now developers can use the same method on iframes, too.

Google Chrome adds lazy load

How do the LazyLoad works? The feature LazyLoad waits to load images and iframes that are out of view until the user scrolls near them. There are some JavaScript libraries that can execute this feature but having in-built support for the feature allows the website to take advantage of lazy loading.

Well, browsers like Safari and Firefox have already added the image loading but seems to be working to fix a couple of bugs in the iFrame lazy loading. The company also said that Chrome for Android in Lite mode automatically lazy loads offscreen images and iframes. As a note, lazyload has a better advantage than the current technology of downloading the pages.

For more news on tech and cybersecurity stay tuned on Android Rookies by subscribing to our newsletter from here.

Share.

About Author

Be Ready for the challenge

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments