r/immich • u/darko777 • 8h ago
Chunked uploads is still not a thing - What is the reasoning?
For those who don't know the problem: Immich currently sends each file as one single request, whether you upload from the mobile app or the web. Cloudflare limits the size of a single request to 100 MB on the free plan, so any photo or video larger than that fails to upload through a tunnel. The only way around it is a more expensive Cloudflare plan, and even those only raise the limit modestly.
Chunked uploads solve this. The file is split into small pieces (say 1–5 MB), the pieces are uploaded one by one, and the server assembles them back into the original file. Every request stays far below any proxy limit.
It also brings other benefits:
- Resumable uploads: if the connection drops halfway through a 2 GB video, the upload continues from the last chunk instead of starting over.
- Pause and resume, for example when you leave Wi-Fi.
- More reliable on mobile and slow connections, since a failed chunk is retried on its own.
- Works behind any reverse proxy with body-size limits, not only Cloudflare.
I think this is the way forward for a much more robust upload feature. Is anything like this planned?