Lazy loading - Web performance | MDN
Lazy loading is a strategy to identify resources as non-blocking (non-critical) and load these only when needed. It's a way to shorten the length of the critical rendering path, which translates into reduced page load times. Lazy loading can occur on different moments in the application, but it typically happens on some user interactions such as scrolling and navigation. As the web has evolved, we have come to see huge increases in the number and size of assets sent to users. Between 2011 and 2019, the median resource weight increased from ~100KB to ~400KB for desktop and ~50KB to ~350KB for mobile. While Image size has increased from ~250KB to ~900KB on desktop and ~100KB to ~850KB on mobile. One of the methods we can use to tackle this problem is to shorten the Critical Rendering Path length by lazy loading resources that are not critical for the first render to happen. A practical example would be when you land on the home page of an e-commerce site with a link to a cart page/sectio
Lazy loading - Performance | MDN Skip to main content Skip to search Lazy loading Lazy loading is a strategy to identify resources as non-blocking (non-critical) and load these only when needed. It's a way to shorten the length of the critical rendering path , which translates into reduced page load times. Lazy loading can occur on different moments in the application, but it typically happens on some user interactions such as scrolling and navigation. Overview As the web has evolved, we have come to see huge increases in the number and size of assets sent to users. Between 2011 and 2019, the
Explore this link on the map →related reading
- Preload critical assets to improve loading speed | Articles | web.devweb.dev
- Populating the page: how browsers work - Performance | MDNdeveloper.mozilla.org
- Analyzing Critical Rendering Path Performance | Articles | web.devdevelopers.google.com
- Five Data-Loading Patterns To Boost Web Performance — Smashing Magazinesmashingmagazine.com
- How's Linear so fast? A technical breakdownperformance.dev
- Critical Rendering Path | Articles | web.devdevelopers.google.com
- File-system conventions: loading.js | Next.jsnextjs.org
- Tempo | Prompt. Develop. Design. Collaborate.tempolabs.ai
- App Router: Streaming | Next.jsnextjs.org
- What is web performance? - Learn web development | MDNdeveloper.mozilla.org
- Web Interface Guidelinesvercel.com
- Adding Interactivity with JavaScript | Articles | web.devdevelopers.google.com