Image pipeline

Our own image optimizer: modern formats at the right size for the screen asking, with no third party in between.

About this project

Images are where most websites quietly lose their speed, and the usual fix is to hand your visitors' traffic to an image service somewhere else. We would rather not, so we built the piece ourselves.

A picture is resized to the sizes actually used and re-encoded to modern formats, and the browser is handed the set so it can pick what fits its screen. On a server-rendered site that happens through our own endpoint; on a static one the variants are baked at build time. Same code either way, so a site does not need a different approach because of how it is deployed.

It is a small piece of infrastructure with an outsized effect, and it runs on every site we ship. The photographs on this page went through it on the way to you.

Highlights

  • Modern formats and the right size for the screen that asked
  • No third-party image service in front of our visitors
  • One approach for server-rendered and static sites alike
  • Running on every site we ship, including this one
More projects

See another one

Documentation that checks itself Behind the scenes
Documentation that checks itself

A tool that compares our documentation against the code it describes, so out-of-date pages get caught instead of quietly misleading the next person.

Read more
Office wallboard Behind the scenes
Office wallboard

Our office heartbeat on the wall: live news, local weather, and platform health, in an enclosure we designed from scratch.

Read more
Uptime monitoring Behind the scenes
Uptime monitoring

Every site and service we run, watched around the clock from one git-backed inventory, with its own status page per customer.

Read more
Back to projects

Want something like this?

Tell us what you want to build. We'll come back with a clear approach and where to start.

Start a conversation