Database / Supabase Intermediate to Advanced Interview Questions
How does Supabase's image transformation feature resize images without a separate CDN service?
Supabase Storage can transform images on the fly by appending query parameters to the file's URL — requesting a specific width, height, or quality — rather than requiring you to pre-generate and store multiple resized copies of every image.
https://project.supabase.co/storage/v1/render/image/public/avatars/user1.png?width=200&height=200
The transformation happens at the storage/CDN layer itself and the resulting resized image is cached, so repeated requests for the same dimensions are served quickly without re-processing. This avoids the common pattern of running a separate image-processing service or pre-computing thumbnail variants ahead of time for every size an app might need.
More Related questions...