Modern applications often need to store profile pictures, PDFs, documents, videos, and other media. Instead of storing these files directly in a database, we can use object storage . Let's understand the complete flow with a simple example: uploading a profile picture . R2 and the Database Suppose a user wants to upload: profile-image.png We separate the actual file from its application metadata: DATABASE CLOUDFLARE R2 ──────── ...