Hacker News new | comments | ask | show | jobs | submit login

Lots of people are focusing on excessive JavaScript and CSS but these combined are easily dwarfed by a single high quality image.

Try visiting Apple's website for example. I can't see how you can have a small page weight if your page includes several images that are meant to look good on high quality screens. You're not going to convince marketing and page designers to go with imageless pages.

Doom's original resolution was 320x200 = 64K pixels in 8-bit colour mode. Even an Apple Watch has 92K pixels and 24-bit colour (three times more space per pixel) now, and a 15" MacBook display shows 5.2M pixels. The space used for high quality images on newer displays is order of magnitudes higher to what Doom hardware had to show.

> Try visiting Apple's website for example.

Indeed, right now on mobile the biggest asset on apple.com is a 1.7 MB picture.


The total size of the webpage being 2.5 MB.

Images can load progressively, so pure HTML + one large image absolutely can appear faster to the user. The JS and CSS to load a SPA won't. Page weight is a good rule of thumb, but it isn't the be all end all of a good experience.

That's why anybody should optimize their images, using e.g. Kraken.io or converting to WebP.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact