Cloudflare R2 Object Storage

•
117
•

Manages Cloudflare R2 object storage with optimized patterns for Workers API integration, multipart uploads, and secure presigned URLs.

This skill provides specialized guidance for implementing and managing Cloudflare R2, the S3-compatible object storage service. It offers standardized implementation patterns for the Workers API, enabling developers to efficiently handle object uploads, downloads, and metadata management. The skill also covers advanced scenarios such as large-scale multipart uploads, secure presigned URL generation for client-side access, and troubleshooting common storage errors like CORS failures and quota limits, ensuring high-performance storage solutions at the edge.

Características Principales

01Pre-configured CORS and bucket metadata templates for browser-based workflows
02Robust error handling and exponential backoff retry logic for transient storage issues
03Secure server-side generation of presigned URLs for direct client access
04Comprehensive Workers API patterns for object manipulation (put, get, head, delete, list)
05117 GitHub stars
06Optimized multipart upload logic for handling files larger than 100MB

Casos de Uso

01Building serverless media upload platforms with zero egress fees
02Generating time-limited download links for private digital assets
03Implementing automated data backups and static site hosting on Cloudflare's edge