What is Lazy Loading
Lazy Loading a modern web technology to speed up your web app, improve user experience and boost search engine rankings.
The Lazy Loading web technology has the ability to defer the loading of images or other DOM elements (e.g. iframes, videos, Google Maps, Youtube players, scripts, stylesheets, etc) when they come into view when scrolling through the page.
What is Native Lazy Loading
Google will introduce the native lazy loading feature in the next browser version (Chrome 75+).
The new loading attribute which brings native <img> and <iframe> lazy-loading to the web:
<img src="jqueryscript.jpg" loading="lazy" alt="..." />
However, you may still need a third-party tool to achieve this feature for those who are using other browsers or legacy browsers.
The Best Lazy Loading Plugins:
Originally Published Nov 28 2017, updated June 6 2019
Table of contents:
jQuery Lazy Loading Plugins:
loadScroll is a minimal jQuery plugin to delay the loading of your images until you start scrolling down the page as well as the images are scrolled into viewport.
lazyscript is an ultra-light jQuery plugin to provide lazy load functionality just by adding a custom jQuery selector class to your Html elements.
lazyload is such a jQuery plugin inspired by YUI ImageLoader that delays loading of many large images in long web pages to reduce the load time.
Lazy Load XT is a mobile-oriented, fast and extensible jQuery plugin for lazy loading of images, videos and other media.
A lightweight jQuery plugin that delays the loading of images or other dynamic content (e.g. iframes, ajax content) until they're about to come into view.
Vanilla JS Lazy Loading Plugins:
A small script to progressively load images with a blur effect. The script will show your low res image with a progressive blur until the high res image has been loaded entirely.
lazysizes is an easy yet robust JS library used to delay the loading of images (iframes, scripts, etc) until they come into view, as well as loading the appropriate sources according to the breakpoints defined in the markup to fit any screen size.