What is lazy loading?

Updated May 17, 2026

Short answer

Lazy loading delays loading resources until needed.

Deep explanation

It improves initial load time by deferring non-critical resources.

Real-world example

Images loading only when scrolling on websites.

Common mistakes

  • Lazy loading critical content causing UI delay.

Follow-up questions

  • What is eager loading?
  • Where is lazy loading used?

More Optimisation interview questions

View all →