That 4000-pixel photo is displayed 400 pixels wide.
Pages send one large original image to every device and let the browser shrink it. Phones download many times the pixels they can show.
The Green Software Foundation suggests serving images at the size they are shown. GreenCode draws on these patterns when it checks software.
GreenCode helps tackle this by practising it on greencode.ai: WebP images, scripts only where they are used and leaner pages cut a first view of the home page from 6.8 MB to 1.7 MB. More on this.
Share this