๐ŸŽ 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

SSR (Server-Side Rendering)
A technique where web pages are rendered on the server and sent as complete HTML to the browser, improving SEO and initial load time.
Web Vitals
Google's metrics for measuring user experience quality, including loading speed, interactivity, and visual stability of web pages.
gRPC
A high-performance RPC framework using Protocol Buffers and HTTP/2 for efficient service-to-service communication.
API (Application Programming Interface)
A set of rules and protocols that allows different software applications to communicate and exchange data.
Middleware
Software that sits between the request and response in a web application, performing processing like authentication or logging.
API Rate Limiting
A strategy for limiting the number of API requests a client can make within a specified time window to protect server resources.
View All Web Development Terms โ†’