verlok / vanilla-lazyload
git clone https://github.com/verlok/vanilla-lazyload.git
LazyLoad is a lightweight, flexible script that speeds up your website by deferring the loading of your below-the-fold images, backgrounds, videos, iframes and scripts to when they will enter the viewport. Written in plain "vanilla" JavaScript, it leverages IntersectionObserver, supports responsive images and enables native lazy loading.
—
stars, 24h
—
stars, 7 days
—
stars, 30 days
7.9k
★ total
670
forks · 18 open issues
Star history starts 2026-10-20; the chart appears after the second daily snapshot.
LanguageJavaScript
LicenseMIT
Created2014-11-10 (11y ago)
Last pushtoday
OwnerUser
GitHub topics
hacktoberfestiframesimagesintersectionobserverlazy-loadinglazy-sizeslazyloadlazyload-iframeslazyload-imageslazyload-scriptlazyload-videospicturepicture-tagresponsive-imagessrcsetsrcset-sizesvanilla-javascriptvanilla-jsvideoswebp