Workers - Performance and size optimization for the Cloudflare adapter for Open Next
1y ago
Source
CloudflareWorkers - Performance and size optimization for the Cloudflare adapter for Open Nextcloudflare.comWith the release of the Cloudflare adapter for Open Next v1.0.0 in May 2025, we already had followups plans to improve performance and size . @opennextjs/cloudflare v1.2 released on June 5, 2025 delivers on these enhancements. By removing babel from the app code and dropping a dependency on @ampproject/toolbox-optimizer , we were able to reduce generated bundle sizes. Additionally, by stopping preloading of all app routes, we were able to improve the cold start time. This means that users will now see a decrease from 14 to 8MiB (2.3 to 1.6MiB gzipped) in generated bundle size for a Next app created via create-next-app, and typically 100ms faster startup times for their medium-sized apps. Users only need to update to the latest version of @opennextjs/cloudflare to automatically benefit from these improvements. Note that we published CVE-2005-6087 for a SSRF vulnerability in the @opennextjs/cloudflare package. The vulnerability has been fixed from @opennextjs/cloudflare v1.3.0 onwards. Please update to any version after this one.
You might also wanna read
Cloudflare Addresses CPU Performance Benchmarks for Workers Platform
Cloudflare investigated and responded to independent benchmarks by Theo Browne that showed Cloudflare Workers performing 3.5x slower than Ve
Cloudflare Python Workers Enhancements: Fast Cold Starts, Package Support, and uv Integration
Cloudflare has significantly improved its Python Workers platform with major enhancements including exceptionally fast cold starts, comprehe
OpenWorkers: Open-Source Runtime for Self-Hosted Cloudflare Workers Implementation
OpenWorkers is an open-source runtime that enables developers to run Cloudflare Workers-style JavaScript applications on their own infrastru
Cloudflare Introduces Oxy: A Rust-Based Modern Proxy Framework
Cloudflare introduces Oxy, a modern proxy framework built with Rust that serves as the foundation for several of their projects including Ze
Cloudflare Engineer Uses AI to Rewrite Next.js in One Week, Signaling AI's Disruption of Software Development
An engineer at Cloudflare used AI agents to rewrite most of Vercel's Next.js framework in just one week, demonstrating how AI is disrupting

Comments
Sign in to join the conversation.
No comments yet. Be the first.