๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

Web Development Beginner

What is Lazy Loading?

A technique that delays loading non-critical resources until they are needed, improving initial page load performance.

Lazy loading defers loading of off-screen images, videos, and code until the user scrolls near them. Native HTML supports this with loading="lazy" on img and iframe elements. JavaScript Intersection Observer API enables custom lazy loading.

Benefits include faster initial page load, reduced bandwidth usage, and lower server load. Code splitting (dynamic imports) applies lazy loading to JavaScript modules. Popular in infinite scroll implementations and image-heavy sites.

Related Terms

HTTP/2
The second major version of HTTP that improves performance through multiplexing, header compression, and server push.
Canonical URL
An HTML element that tells search engines which URL is the preferred version of a page when duplicate or similar content exists at multiple URLs.
Meta Tags
HTML elements in the page head that provide metadata about the document for browsers, search engines, and social media platforms.
CDN (Content Delivery Network)
A distributed network of servers that delivers web content to users from the geographically closest location.
REST (Representational State Transfer)
An architectural style for designing networked applications using standard HTTP methods and stateless communication.
HTTP Status Codes
Standardized three-digit codes returned by web servers to indicate the result of a client's HTTP request.
View All Web Development Terms โ†’