DEV Community

Cover image for Cloudflare Workers URL Image Optimization Benchmark Index
PyVren
PyVren

Posted on Originally published at pyvren.com

Cloudflare Workers URL Image Optimization Benchmark Index

TL;DR: Cloudflare Workers now supports URL-based image optimization on workers.dev subdomains without custom domains, with up to 10 allowed origins and automatic production caching.

Cloudflare shipped Worker-scoped URL-based image optimization on workers.dev subdomains on November 25, 2026, removing the previous requirement for a connected custom domain to serve /cdn-cgi/image/* transformation URLs. This benchmark index compares the URL interface against the Images binding across cost, latency, caching, and operational limits so platform engineers can pick the right path for image delivery at the edge.

Verified Key Facts

Metric / Signal Finding
URL interface enabled on workers.dev True as of November 25, 2026 changelog; previously custom domain only
Max allowed origins per Worker 10 hostnames via allowed_origins / allowedOrigins
Images binding max source size 20 MB per input stream
URL interface caching behavior Transformed results automatically cached in production
Binding caching behavior Not automatically cached; requires Workers Cache and Cache-Control headers
Unique transformation billing Billed once per calendar month per source image and parameter combination

Inside the Full Technical Dispatch

  • Cost & Platform Limits Table
  • Measured Bottlenecks & Hidden Billing Traps
  • Production Configuration Snippet
  • Migration Checklist & Break-Even Thresholds

Read the full analysis, runnable configurations, benchmark tables, and primary source citations on Pyvren.

Originally published on Pyvren by Hamdi Soudani.

Top comments (0)