Glossary

What is Content negotiation?

Content negotiation is the browser telling the server which formats it accepts, in an Accept header, and the server choosing one. It is how one image URL can return AVIF to one browser and WebP to another.

How Fileboy does it

format:auto picks the smallest format the browser says it accepts: AVIF, then WebP, then the original format (BMP and TIFF become PNG, HEIC becomes JPEG). Each outcome is cached separately and the response sends Vary: Accept.

In the docs

Image transformations

Related terms

AVIF · WebP · CDN

All glossary terms

Add Fileboy to your next project

We built Fileboy to stop rebuilding file handling for every app. Create an app, paste your key and upload a file. The free plan needs no card.