Cloudflare migrates cdnjs to its developer platform
The open-source CDN serving 9 billion daily requests now runs entirely on Workers, R2, and D1, marking a milestone in platform maturity.
August 4, 2026 · 3 min read
TL;DR: Cloudflare has migrated cdnjs, the open-source CDN serving 9 billion daily requests, to its platform (Workers, R2, D1, etc.). The move validates platform maturity, reinforces security, and ensures the service remains free, while generative AI continues to rely on cdnjs for its prototypes.
On June 23, 2026, Cloudflare announced that cdnjs, one of the most heavily trafficked open-source CDNs on the Internet, now operates exclusively on its developer platform. This migration, detailed in the company's official blog, not only marks a technical milestone but also redefines cdnjs's role in a web ecosystem dominated by bundlers and AI assistants.
What happened?
cdnjs is a free, open-source CDN that serves JavaScript and CSS libraries. Since 2011, when bundlers were rare and npm was just emerging, cdnjs became the standard way to load jQuery, Bootstrap, or Lodash via a simple <script> tag. Today, with over 108,000 requests per second and 9 billion daily requests, cdnjs is used by approximately 12% of all websites, with a 48.3% share of the JavaScript CDN market.
The migration moves all of cdnjs's infrastructure to Cloudflare's services: Workers for server logic, Workflows for long-running processes, D1 as the database, Queues for messaging, Workers Cache for caching, R2 for object storage, KV for key-value data, and Containers for specific workloads. Previously, cdnjs relied on a mix of legacy services and proprietary systems, but now everything runs on Cloudflare's unified platform.
Why it matters
The migration has several significant implications:
- Platform maturity: Cloudflare has proven that its platform can sustain massive and diverse loads. cdnjs is not a trivial project: it serves 9 billion daily requests with a 98.6% cache hit rate. If the platform can handle this, it can handle almost anything.
- The rise of generative AI: Cloudflare's article highlights that language models like ChatGPT, Claude, or Cursor frequently use cdnjs when generating HTML prototypes. The consistency of URLs and the immutability of versions make cdnjs a reliable source for AI, which partly explains its enormous traffic.
- Security and trust: cdnjs offers SRI (Subresource Integrity) hashes that verify file integrity, crucial in a context of increasing supply chain attacks. The migration to Cloudflare's platform reinforces the service's security and auditability.
- Sustainable free tier: cdnjs will remain free forever, without API keys or rate limits. Cloudflare absorbs the cost as part of its 'dogfooding' strategy, i.e., using its own products to validate them.
Consequences for the ecosystem
For developers, the change is transparent: cdnjs.cloudflare.com URLs continue to work the same. However, the migration could accelerate adoption of Cloudflare's platform among companies that previously doubted its ability to handle extreme spikes. If cdnjs runs on Workers, R2, and D1, any startup can consider migrating its infrastructure to these services with greater confidence.
Moreover, the fact that cdnjs is now a 'reference product' for Cloudflare's platform may influence the company's roadmap. Cloudflare has already noted that the migration revealed platform limits that were overcome during the process, suggesting we will continue to see improvements in Workers, D1, and other services.
What readers should know
- No changes for users: If you use cdnjs in your projects, you don't need to do anything. URLs and functionality are identical.
- AI depends on cdnjs: If you use AI assistants to generate code, it's very likely that the libraries they load come from cdnjs. The migration ensures this flow remains stable.
- Cloudflare's platform is serious: This is a large-scale production use case that validates the platform. If you were considering Workers or R2, this is a good sign.
- The future of cdnjs: Cloudflare plans to continue improving cdnjs, including fixing legacy SRI hashes that don't match actual files. The community can expect greater transparency and auditing tools.
“cdnjs is a pillar of the Internet that is often taken for granted. Its migration to Cloudflare's platform not only ensures its sustainability but also demonstrates that edge infrastructure can handle loads that previously required custom solutions.”
In summary, the cdnjs migration is a technical and strategic milestone. It reinforces Cloudflare's position as a leader in edge infrastructure, secures a critical service for the web and AI, and offers a lesson on how 'dogfooding' can take a platform to its highest level.