cdnjs Moves to Cloudflare's Developer Platform: 9 Billion Daily Requests Now Served on Workers and Workflows

Cloudflare · 30 Jul 2026 · 2 min read

#cloudflare

Cloudflare has announced the complete migration of cdnjs — a free, open-source CDN serving over 9 billion requests daily — onto their own Developer Platform. This means cdnjs now runs on Cloudflare Workers, Workflows, R2, and other building blocks, effectively "dogfooding" their serverless infrastructure at an unprecedented scale.

The migration required overcoming several technical challenges, leading to key improvements that benefit all platform users:

  • Workflows duration limit increased from 15 minutes to 30 minutes (configurable up to 100 hours via API). Previously, cdnjs's update workflow (processing new libraries from GitHub) exceeded the 15-minute timeout. The team used the cf.workflow API to request longer execution windows.
  • Workers memory limit raised to 2048 MB (from 1024 MB) in certain plans, enabling cdnjs to handle larger library archives and in-memory processing.
  • R2 object store replaces traditional storage, with public buckets serving billions of requests without egress fees. cdnjs leverages R2's get and put operations via the @cloudflare/r2 package.
  • Workflows now support Durable Objects for stateful coordination across long-running tasks. cdnjs uses Durable Objects to manage concurrent updates and avoid conflicts via the DurableObjectNamespace binding.
  • KV namespace is used for metadata caching (library versions, file lists), significantly reducing latency for API lookups. The kv:namespace CLI command was used to create dedicated namespaces.
  • Queue consumer concurrency increased from 10 to 100 messages per batch, enabling faster processing of cdnjs update notifications via @cloudflare/queue.

For developers, this migration proves Cloudflare's Developer Platform can handle CDN-scale workloads with real-time throughput and low latency. The increased limits (Workers memory, Workflows duration, Queue concurrency) are immediately available to all users, unlocking new possibilities for data-intensive tasks, long-running batch jobs, and high-volume event processing. If you build on Workers, you now have more headroom to experiment with larger datasets, slower external APIs, or complex multi-step workflows — all without leaving Cloudflare's edge.

Source: https://blog.cloudflare.com/cdnjs-dev-platform-migration/

Related

auto-curated · source linked above ← all news