Best of CloudflareFebruary 2026

  1. 1
    Article
    Avatar of cloudflareCloudflare·12w

    How we rebuilt Next.js with AI in one week

    Cloudflare engineers rebuilt Next.js from scratch on top of Vite in under a week using AI (Claude via OpenCode), producing an open-source drop-in replacement called vinext. It builds production apps up to 4.4x faster with Vite 8/Rolldown and produces client bundles 57% smaller than Next.js 16. vinext deploys directly to Cloudflare Workers with a single command, supports both App Router and Pages Router, includes ISR via KV, and covers 94% of the Next.js 16 API surface backed by 1,700+ Vitest tests and 380 Playwright E2E tests. A novel 'Traffic-aware Pre-Rendering' (TPR) feature uses Cloudflare zone analytics to pre-render only the pages that actually receive traffic, avoiding the linear build-time scaling problem of large Next.js sites. The project cost roughly $1,100 in Claude API tokens and raises broader questions about which software abstractions exist for human cognitive limits versus genuine architectural necessity.

  2. 2
    Article
    Avatar of cloudflareCloudflare·12w

    We deserve a better streams API for JavaScript

    A deep technical critique of the WHATWG Web Streams API by a Cloudflare/Node.js core contributor, arguing that its fundamental design choices — reader/writer locking, BYOB complexity, advisory backpressure, promise-heavy internals, and push-oriented TransformStreams — create serious usability and performance problems that cannot be fixed incrementally. The post presents a proof-of-concept alternative API built around async iterables as the core primitive, pull-based lazy evaluation, explicit backpressure policies, batched chunk delivery (Uint8Array[]), and synchronous fast paths. Benchmarks show the alternative running 3x–120x faster than Web streams across Node.js, Deno, Bun, Cloudflare Workers, and Chrome, with gains attributed entirely to design choices rather than implementation optimizations. The author frames this as a starting point for community discussion about what a modern streaming standard could look like.

  3. 3
    Article
    Avatar of cloudflareCloudflare·12w

    The most-seen UI on the Internet? Redesigning Turnstile and Challenge Pages

    Cloudflare serves 7.67 billion Turnstile widget and Challenge Page impressions daily, making it arguably the most-seen UI on the Internet. A comprehensive redesign effort addressed inconsistent visual language, overly technical error messages, alarming red backgrounds, and poor accessibility. Key changes include a unified information architecture across both products, simplified error states with a dedicated troubleshooting modal, WCAG 2.2 AAA accessibility compliance, and careful internationalization across 38+ languages. User testing with 8 participants across 8 countries validated design decisions, including keeping distinct state-specific copy over competitor-style static labels. On the engineering side, the team works in Rust rather than JavaScript frameworks, requiring manual DOM manipulation and extra care for RTL language support and locale-aware numbering. Success is being measured via challenge solve rate, time to complete, abandonment rate, support ticket volume, and social sentiment.