Menu

Not one image on our website, five phone screens drawn in HTML, and the only PNG we ship is bigger than the homepage
📰

Not one image on our website, five phone screens drawn in HTML, and the only PNG we ship is bigger than the homepage

DEV Community: css·Daniel Pertu·16 days ago
#9ySrI37O
#devtocss#devto#dev#mock#bytes
Long article (956 words) — no AI summary yet.
Reading 0:00
15s threshold

Fetch munchable.app and count the pictures:

bytes 98,283 <img> tags 0 <svg> tags 55 <path> tags 59 background-image 0

Enter fullscreen mode

Exit fullscreen mode

There is no public/ directory in the web app, nothing imports next/image , and the only raster file in the whole repository is the social card. The app screens on the page, the ones showing a barcode being read and a verdict coming back, are HTML elements and inline SVG.

Scroll the page and you will see five of them: the hub in the hero, a result card, the label camera, menu mode, and recipes. They live in two components, 802 lines between them, and they render as part of the page rather than as assets.

Why not screenshots

The usual reason is weight, and the weight argument is real but smaller than people assume. The interesting reasons are the other four.

They cannot be out of date in the way a screenshot is.…

Continue reading — create a free account

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