Async Media & WebP Compression

Automate high-velocity image compression for ClickSpoke, MROcalc, and CodeMath. Enforces standardized naming, downsamples to 1080p, strips EXIF tracking data, and uploads to zero-egress R2 storage.

Celery + Redis Queue Cloudflare R2 Object Store

Interactive Media Compression Queue

Async Celery Queue

Upload assets for automated optimization. Pre-flight validated on the client, buffered to shared Docker volumes, and asynchronously converted by Celery workers.

or drag and drop images here

Supports PNG, JPG, or WebP up to 25 MB per asset. Auto-resized to max 1920x1080.

EXIF Stripped • WebP / JPEG / PNG • Cloudflare R2 Bucket
No images in queue yet. Add files above to begin compression.

Recent Processed Assets

0 assets
No processed assets found for this spoke yet. Upload files above to persist them to Cloudflare R2.

Architecture & Worker Constraints

How the SpokeBase media pipeline handles distributed processing across low-footprint cloud resources:

01

Client Pre-Flight Guard

Client-side MIME type inspection (`image/jpeg`, `image/png`, `image/webp`) and 25 MB file bounds prevent invalid requests from hitting Django or consuming network bandwidth.

02

Gentle Worker Concurrency

Batch uploads are limited to 1–2 concurrent in-flight requests. This safeguards the GCP `e2-micro` single-vCPU instance and stays well under DRF's 60 req/min anonymous rate throttle.

03

Zero-Egress Distribution

Converted WebP binaries are streamed to Cloudflare R2 with immutable 1-year caching headers. Rendered on frontends with native `loading="lazy"` and `decoding="async"`.