4
Reply

What is lazy loading?

Davin Martyn

Davin Martyn

12y
11.4k
0
Reply

    Exact answer needed for visitors

    Lazy loading means not creating an object until the first time it is accessed.This technique is most useful when you have large hierarchies of objects (such as a product catalog). You can lazy-load subordinate objects as you navigate down the hierarchy, and thereby only create objects when you need them.

    The “Lazy Loading” design pattern actually equips the developer with the art of providing data only when a property is called for. In other words, it is a on-demand loading. It is an efficient technique to improve performance.