ConicPlex

Start Your Project

Illustration of photos flowing through a funnel into a storage cloud, representing an image CDN transforming and caching photo variants for a mobile app

On this Page

Why a Photo-Sharing App Needs More Than a Supabase Bucket

A photo-sharing app that stores every image in a single Supabase bucket works fine in a demo and starts costing real money the moment a few hundred people actually use it. The bill shows up as egress, not storage: serving a full-resolution photo to a phone screen that only needed a 400px thumbnail burns bandwidth you pay for every single time. The fix isn’t dropping Supabase. It’s putting an image CDN in front of it that resizes and caches on the way out, which is exactly the decision we had to make building Mativco, a group photo-sharing app for iOS and Android.

Mativco’s brief was simple to describe and not that simple to build well: let a group of friends create a shared space, invite people into it, and dump photos from a trip or an event into one place instead of five separate chat threads. We built it on Flutter and Dart for the mobile app layer, with Supabase handling auth, group membership, and the database, and Cloudinary sitting in front of image storage and delivery. The whole build ran about four weeks. The storage architecture decision happened in the first few days of that window, because getting it wrong doesn’t show up until the app actually has users.

What Supabase Storage Actually Costs a Photo-Sharing App

Supabase split its storage egress into two separate buckets in 2025: cached and uncached. Cached egress, the portion served through Supabase’s own CDN layer, is billed at $0.03 per GB, down from the earlier $0.09 per GB rate, according to Supabase’s own announcement. Paid plans now get 250 GB of cached egress and 250 GB of uncached egress as separate quotas, where they used to share a single 250 GB unified allowance. Max file size on paid plans also jumped from 50 GB to 500 GB.

That’s a genuinely good deal if your app serves the same file to the same requester repeatedly and the cache actually hits. It is a much worse deal for a photo feed, because a feed almost never asks for the same bytes twice. One upload needs a 150px avatar-style thumbnail in the group list, a 600px preview in the feed, and the original resolution when someone taps to view full screen. Three sizes, three separate cache entries, and the cache only helps once each size has already been requested at least once by someone, somewhere.

Why Caching Alone Doesn’t Solve the Thumbnail Problem

This is the part that’s easy to miss when you’re pricing out storage from a spec sheet instead of a working app. Supabase’s cheaper cached egress rate assumes you’re serving a stable file. It doesn’t generate a resized variant for you on request. If your Flutter client asks for a photo and you haven’t pre-generated a thumbnail, you either serve the full file and resize it on the device (burning bandwidth and battery), or you build your own image processing pipeline to generate and cache variants yourself.

Cloudinary’s actual job in a stack like this isn’t “a CDN.” It’s on-demand image transformation with its own caching layer sitting behind that: request a URL with a width and crop parameter baked into it, and Cloudinary generates that variant the first time it’s asked for, then serves the cached result after that. You get the derived-image problem solved without writing a resizing service and standing up your own cache invalidation logic, which is the part that usually eats far more engineering time than anyone budgets for.

Layer Supabase Storage Cloudinary
Primary job Source-of-truth file storage, tied to auth and row-level security On-demand image transformation and derived-asset delivery
Pricing model Flat per-GB storage plus split cached/uncached egress Credit-based, tied to transformations and bandwidth
Good at Access control per user or group, keeping one canonical copy Generating thumbnails, crops, and format conversions without custom code
Weak at Serving many derived sizes of the same image efficiently Being the permissions-aware system of record
Role in Mativco Stores the original upload, enforces who can see which group’s photos Generates and caches every resized variant the app actually displays

Do You Actually Need Both, or Is That Overkill?

Not every app needs this split. The signal to watch for is how many distinct sizes of the same image your UI actually requests, multiplied by how many users are looking at shared content instead of just their own. A single-user journaling app that shows one photo at a time in roughly one size can get away with Supabase Storage alone for a long time. A few honest questions settle it quickly:

  • Does more than one screen in the app show the same photo at a different size or crop?
  • Do multiple users view the same uploaded images, the way every member of a Mativco group sees every photo in it?
  • Would resizing images on-device burn noticeable battery or data on a mid-range Android phone?
  • Is anyone on the team willing to own a resizing and cache-invalidation service long-term if you build it yourself?

If two or more of those point toward “yes,” a dedicated image layer earns its cost. If none do, skip it and revisit the decision once usage actually grows, the same way we’d weigh which backend actually fits a new mobile app before committing to infrastructure the product doesn’t need yet.

What This Looked Like for Mativco

We kept the split narrow on purpose. Supabase owns the parts that need to know who you are: group membership, invitations, and which uploads belong to which group, enforced through row-level security so one group’s photos never leak into another’s queries. Cloudinary owns everything downstream of “here’s a photo someone uploaded”: generating the sizes the app actually renders, and serving them fast enough that a group feed with forty photos in it doesn’t stall on a slow connection.

The 4-week timeline only held because we didn’t build either half from scratch. A homegrown resizing pipeline is a multi-week project on its own once you account for format handling, orientation metadata, and cache invalidation when someone deletes a photo. If a transformation pipeline uses webhooks to confirm a resize job finished, which Cloudinary’s does, that callback needs to be handled the same way any webhook in a production system should be handled: assume it can arrive twice and make the update idempotent, or a retried callback can double-process the same upload.

Cheaper Alternatives Exist, With a Catch

Cloudinary isn’t the only option, and it isn’t the cheapest one if transformation isn’t what you need. Flat object storage and CDN combinations like Backblaze B2 paired with Cloudflare’s CDN, or BunnyCDN on its own, price well below Cloudinary on raw bandwidth, with one industry storage comparison putting Backblaze B2 around $0.006 per GB stored with free egress through Cloudflare. The catch is that none of those generate resized variants for you. You get cheap storage and delivery of exactly the bytes you uploaded, and you’re back to building the resizing logic yourself, just against a cheaper backend.

That tradeoff is worth naming plainly: pick the dedicated image CDN when the transformation work it replaces would otherwise land on your own engineering time, and pick the cheaper flat storage option when your app’s image needs are simple enough that you were never going to need much transformation in the first place. There isn’t a universally correct answer here, only a correct answer for the specific app you’re building and the team actually maintaining it after launch.

Frequently Asked Questions

Does Supabase Storage include image resizing?

No. Supabase Storage serves the exact file you uploaded and caches repeated requests for that same file at a discounted rate. It does not generate thumbnails, crops, or other derived sizes on request. That work has to happen in your application code or through a separate service like Cloudinary.

Is Cloudinary worth it for a small app with few users?

Usually not at first. Cloudinary’s value comes from on-demand transformation at scale, and a small app with a handful of users and simple image needs often does fine on Supabase Storage alone. Add the dedicated layer once the number of image variants your UI actually requests starts multiplying, not before.

What changed in Supabase’s storage pricing in 2025?

Supabase split egress into cached and uncached tiers, cut the cached rate to $0.03 per GB from $0.09 per GB, doubled the effective egress quota on paid plans by giving cached and uncached traffic separate 250 GB allowances instead of one shared pool, and raised the maximum file size on paid plans from 50 GB to 500 GB.

Can I build my own image resizing instead of using Cloudinary?

Yes, and plenty of teams do. It means owning format handling, orientation metadata, generating each size your UI needs, and invalidating cached variants when a source file changes or gets deleted. It’s a real project, not a weekend script, so weigh that engineering time against what a managed transformation service costs before deciding to build it yourself.

Sources

Sajil Memon is a co-founder of ConicPlex and a Senior Full Stack Developer focused on backend work: Node.js, PHP, APIs, and the infrastructure decisions that determine whether a system holds up under real traffic. He’s spent years on the side of a project that doesn’t get demoed, the part that has to keep working after launch. He writes here about the technical tradeoffs in backend architecture, deployment, and data handling that only become obvious once something breaks in production.

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep reading

Plugins

Illustration of two customer cards connected by a looping referral arrow with a reward badge, representing a WooCommerce refer-a-friend program

How to Add a Refer-a-Friend Program to WooCommerce (3 Plugins Compared)

WooCommerce has no built-in way to turn a happy customer into a recruiter. The moment someone loves what they bought…

Husen Memon

November 25, 2026

Platforms

Illustration of a shipping package splitting into two rule-tagged paths, representing conditional WooCommerce shipping logic

WooCommerce Shipping Rules: Why Zones Break Down and What to Build Instead

WooCommerce’s built-in shipping zones can’t handle conditional rules like category-based free shipping. Here’s when a table-rate plugin is enough, and…

Aftab Memon

November 24, 2026

News & Updates, Plugins

ShopBuilder’s Elementor WooCommerce Addon Patches a High-Severity Data Exposure Bug

RadiusTheme shipped version 3.4.4 of ShopBuilder, its Elementor WooCommerce Builder Addons plugin, on November 16, 2026, fixing an unauthenticated data…

Aftab Memon

November 24, 2026

WhatsApp
Husen Memon
Husen Memon
Typically replies instant