Privacy

What is Lazy Loading and What Does it Do?

Imagine that you’re on a commute or trip and you’re scrolling through Facebook, trying to kill some time. Now imagine that a friend has pasted a link. You press a little too hard while you’re scrolling through your Facebook feed, and all of a sudden, you’re on a new page. A page filled with images — a photo gallery, maybe — that your friend thought his friends would enjoy, but when you see the first image, you decide maybe it’s not for you and you leave the page.

What is Lazy Loading?
So, what happened when you clicked on the link? Did you load the whole site that you never ended up looking at? If the site uses “lazy loading,” then no, you didn’t. Sites that eat up a lot of data — photo galleries being a good example — enable lazy loading so that they load more quickly and don’t blow all of your data if you end up not looking at them.

Read More: The Cities to Travel to with the Fastest Internet

How Does Lazy Loading Work?
Instead of downloading the entire site in one go, which would take a long time for larger sites, your device downloads a series of placeholders that correspond to the actual information on the page. The browser caches all of the site’s resources, but doesn’t actually load them; it simply knows where each one goes. If you end up scrolling through the page, the browser will begin to plug things in right before you get to them. If you’re nearing a placeholder for a picture, the browser finds that picture in its cache and slides it into place. But, if you glance at a page and decide you don’t want to read it, no harm, no foul: you’ve actually only loaded the very top of that page, the part you’ve laid eyes on.

You’ve probably seen this while online. Google’s image search, for example, uses lazy loading, with the thumbnails replacing placeholders as you scroll down the page. Scroll fast enough and you’ll see it in practice.

Lazy Loading Works for Sites and You
So, are websites just being generous, looking out for you, your data, and your time? Not exactly. While lazy loading is actually beneficial to you, it helps the sites out, too. Sites load much faster using lazy loading, which drives traffic. People will give up on a site if it takes forever to appear. If the site can entice the user quickly with the top loaded section, the user is more likely to stick around and allow the rest of the site to load. Ultimately it’s a win-win situation, and an innovative solution to sites with a lot of information.

PSafe Newsroom

The dfndr blog is an informative channel that presents exclusive content on security and privacy in the mobile and business world, with tips to keep users protected. Populated by a select group of expert reporters, the channel has a partnership with dfndr lab's security team. Together they bring you, first-notice news about attacks, scams, internet vulnerabilities, malware and everything affecting cybersecurity.

Recent Posts

Does Leaving Wi-Fi On Drain Your Phone Battery?

Do you turn Wi-Fi off whenever you leave home because you expect your battery to…

57 years ago

Google Drive Stopped Photos Backup: What Changed

A Google backup change can be easy to miss. As of August 10, 2026, Drive…

57 years ago

IC3 Scam: How to Spot Fake FBI Recovery Offers

Would you trust someone who claims to work for the FBI, knows details about a…

57 years ago

QR Code Scam: How to Spot a Fake QR Code Before You Scan It

Do you check a QR code before you scan it? A QR code scam takes…

57 years ago

How to Lock Apps on Android With a PIN, Password, or Fingerprint

Want to know how to lock apps on Android with a PIN, password, pattern, or…

57 years ago

Does Incognito Mode Hide Everything You Do Online? Myth vs. Fact

When you open an Incognito tab, do you assume websites, internet providers, and other people…

57 years ago