I made a lazy-loading decision on ramrom.io that sounds backwards at first: the guide pages lazy-load their images, and the tool pages do not lazy-load anything at all. It is not an oversight. It is the one place where I deliberately do not apply a performance best practice, because on the tool pages it would make things worse.

The two kinds of page

The site has two kinds of page, and they behave very differently. A tool page is one job: paste a link, tap download, get the file. It has almost no images — a logo, maybe a small illustration in the 3-step guide, and that is it. A guide page is a long read, a couple of thousand words explaining how a downloader works or what to watch out for, with screenshots and diagrams scattered down the page.

That split is what drives the decision. Lazy loading exists to stop the browser downloading images the visitor may never scroll to. On a guide page that is a real win: most readers never reach the bottom, so why fetch every screenshot up front? On a tool page there is nothing below the fold worth deferring. Every image on the page is already visible, so lazy-loading it would only delay something the visitor needs right now.

What the guide pages do

On guide pages every content image gets loading="lazy" and decoding="async", and — this is the part people skip — explicit width and height attributes. The lazy attribute stops the download until the image nears the viewport. The width and height stop the page jumping when the image finally arrives, because the browser reserves the space before it knows the file.

That last point matters more than the lazy loading itself. I chased layout shift to zero on the tool pages and I am not about to reintroduce it on the guides. A page that reflows while you read is worse than a page that loads a fraction slower. So the rule on guides is: lazy, but with the box already reserved.

I also keep the first image on a guide page eager. It is usually the header illustration, it sits above the fold, and deferring it would delay the largest contentful paint for no benefit. The lazy attribute goes on everything from the second image down.

What the tool pages do instead

Tool pages carry no loading="lazy" at all. The logo and the 3-step visual guide are above the fold and part of the first paint, so the browser should fetch them immediately. Making them lazy would mean the logo pops in a beat after the rest of the page, which looks broken, and it would push the largest contentful paint later on the exact pages where speed matters most — the pages a visitor lands on, uses, and leaves in under a minute.

The deeper reason is that tool pages barely have images in the first place. The whole homepage stays under 100KB. There is no hero photograph, no carousel, no stock imagery. When a page has two small images, the optimisation is not lazy loading; it is not having a dozen images to defer. The performance budget is enforced by what I choose not to put on the page, not by clever attributes.

The check that keeps me honest

The rule is simple enough to test by hand. Open a guide page, watch the network tab, and confirm only the first image loads before scrolling. Open a tool page and confirm everything is there on first paint with no pop-in. If a new guide image ever ships without width and height, the layout shift shows up immediately in the field data, and that is the signal to fix it.

Lazy loading is a good default. It is just not a universal one. The question is never "should I lazy-load images" — it is "which images does the visitor actually need right now". On my site the answer splits cleanly down the middle: guides, yes, from the second image down; tool pages, no, because everything on them is already the job.