Menu

1 / 2

Fast pages when every page is full of product images

DEV Community: html·Carey·about 7 hours ago
#P5nMqGmC
#devto2#devto#dev#product#every
Long article (972 words) — no AI summary yet.
Reading 0:00
15s threshold

Most speed advice starts with JavaScript. On a page that is mostly product photos, start with the photos.

I've run FreshStore , an affiliate site builder, since 2010. The sites it builds are image heavy by nature. Category grids, product pages, buying guides with a product card every few paragraphs. A normal homepage carries dozens of images, and most of them sit below the fold.

These are the browser techniques that made the biggest difference for us. All of them are standard, and most are a few attributes.

Know which number you're moving

Google's Core Web Vitals are three numbers, measured on real visits at the 75th percentile ( web.dev has the detail):

LCP (Largest Contentful Paint): good is 2.5 seconds or less.

CLS (Cumulative Layout Shift): good is 0.1 or less.

INP (Interaction to Next Paint): good is 200 milliseconds or less.

On an image-heavy page the causes are predictable. LCP is usually an image. CLS is usually an image arriving with no space saved for it. INP is usually script.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.