media-storage
Installation
SKILL.md
Storage Architecture
Never store uploaded files on the application server's local filesystem. Use object storage — it decouples storage from compute, survives container restarts, and scales independently.
Client → Backend API → Object Storage (S3 / MinIO / Azure Blob / GCS)
↓
CDN (optional) → Client
| Component | Purpose |
|---|---|
| Object storage | Durable binary storage with HTTP access |
| Presigned URLs | Time-limited upload/download URLs that bypass the backend |
| CDN | Edge cache for frequently accessed assets (avatars, thumbnails) |
| Image processing | Resize, crop, format conversion on upload |