Documentation

Assets

Uploading images and files, what an asset id means, which transform parameters are served, and how bytes are delivered.

  1. Uploading images and files

    Bytes to Blob, metadata to Postgres, and an asset id derived from the bytes — so uploading the same file twice stores it once.

  2. Image transforms

    w, h, fit, q, fm, auto=format and dpr are served. Hotspot rectangles, blur, sharpen, rect, palette and LQIP are not — and are ignored rather than approximated.

  3. Serving files

    Non-image assets are delivered by their own route, with the same content-addressed ids and the same origin-derived URLs.