Lazy Loading
Everything on SkillVeris tagged Lazy Loading — collected across the glossary, study notes, blog, and cheat sheets.
12 resources across 1 library
Interview Questions(12)
What is the N+1 Query Problem and How Do You Fix It?
The N+1 query problem is a performance anti-pattern where code runs one query to fetch a list of N parent records, then runs one additional query per parent to…
ORM Lazy Loading vs Eager Loading: What is the Difference?
Lazy loading fetches an object's related data only at the moment it is actually accessed in code, issuing a separate query on demand, while eager loading fetch…
What is the Cache-Aside (Lazy-Loading) Caching Pattern?
Cache-aside is a caching pattern where the application code itself checks the cache first, and on a miss reads from the database, populates the cache with that…
What is the Proxy Pattern?
The Proxy pattern provides a surrogate object that implements the same interface as a real subject and controls access to it, allowing extra logic such as lazy…
What is the Cache-Aside Pattern?
The cache-aside pattern (also called lazy loading) puts the application in charge of the cache: on a read the app checks the cache first and only loads from th…
What is Lazy Loading?
Lazy loading is the technique of deferring the loading of a resource — an image, a script chunk, or a component — until it is actually needed, instead of loadi…
What Is React Suspense and How Does It Work?
React Suspense is a component that lets you declaratively show a fallback UI, like a spinner, while its children are not yet ready to render because they are w…
What Are Code-Splitting Strategies and Why Do They Matter?
Code splitting breaks a single large JavaScript bundle into smaller chunks that load on demand — by route, by component, or by vendor library — so the browser…
What Are Key Image Optimization Techniques for the Web?
Web image optimization combines choosing efficient formats (WebP/AVIF), serving correctly sized responsive images via srcset, lazy-loading offscreen images, an…
What Is the Intersection Observer API and Why Use It?
The Intersection Observer API lets you asynchronously detect when a target element enters or exits the viewport (or another ancestor element), without the expe…
How Do React.lazy and Suspense Enable Code Splitting?
React.lazy() defers loading a component`s code until it is actually rendered, and Suspense lets a parent declare a fallback UI to show while that lazily-loaded…
How Do You Manage Third-Party Script Performance?
Third-party scripts (analytics, ads, chat widgets, A/B testing tags) hurt performance by blocking the main thread with parser execution, adding render-blocking…