Stage:
General Availability
Available on self-hosted:
Yes
Supabase's Resumable Uploads feature enables reliable transfer of large files, allowing uploads to be paused and resumed, particularly useful for files exceeding 6MB or in unstable network conditions.
Key features
- TUS protocol implementation: Utilizes the open protocol for resumable uploads.
- Progress tracking: Provides upload progress events for better user feedback.
- Chunk-based uploads: Uses 6MB chunks for efficient transfer and resumption.
- Retry mechanism: Implements automatic retries with customizable delay intervals.
- Metadata support: Allows setting of bucket name, object name, content type, and cache control.
- Upsert option: Provides the ability to overwrite existing files if needed.
- Flexible integration: Compatible with tus-js-client and other TUS-supporting libraries like Uppy.
Benefits:
- Reliability: Successfully upload large files even with unstable internet connections.
- User experience: Allow users to pause and resume uploads at their convenience.
- Bandwidth efficiency: Avoid re-uploading already transferred parts of a file after an interruption.
- Large file support: Confidently handle uploads of very large files without worrying about timeouts.
Resumable uploads are valuable for:
- Cloud storage applications handling large file transfers
- Video sharing platforms dealing with high-quality video uploads
- Backup and sync services ensuring data integrity during transfers
- Content creation tools handling large media files
- Any application where users need to upload sizeable files in potentially unstable conditions
Supabase's Resumable Uploads feature significantly improves the reliability and user experience of file uploads, especially for large files or in scenarios with unpredictable network conditions.