What is Lazy Loading?
Lazy Loading or Loading
Lazy Loading is an online content optimization technique used by websites and web applications.
In Bulk Loading, users load the entire content one page at a time. On the other hand, lazy loading allows you to load only the resources needed at the start. Loading of non-critical resources is deferred until the user needs it.
A good example of lazy loading trend is an infinite scrolling website. Web page content loads as users scroll through the page.
Advantages and disadvantages of Lazy Loading
Lazy loading is a fairly common performance improvement technique. It is well used to reduce unnecessary downloads for sites with lots of online images. However, there are advantages and disadvantages as with any technique.
Lazy loading benefits:
Lazy Loading reduces time and memory consumption, optimizing content delivery. Because only a fraction of a required web page is loaded initially, the loading time is reduced. Loading of remaining content is delayed to save resources. This improves the user experience, as the requested content is accessible faster.
No unnecessary code execution. Only essential processes are executed when loading.
The optimization of time and resources makes it very profitable for website owners.
Lazy loading disadvantages:
It is rather complex to add additional lines of code to those already existing lord of the Lazy Loading implementation.
Lazy loading can affect the ranking of the site in search engine results. This is due to incorrect indexing of offloaded content.
Updated on: 03/05/2023