- Uploaded images are checked by magic bytes; the key extension and stored
Content-Type come from the detected format, not from the client's filename
(an .html file sent as image/png was stored as <uuid>.html).
- /api/v1/ads-media streams from MinIO instead of loading whole videos into
the heap, answers Range requests with 206 (iOS Safari needs it for video)
and sets a long public Cache-Control for immutable keys.
- The bucket lifecycle rule expired every object after 180 days, including
avatars and images of live posts; now only noncurrent versions expire.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>