Best of CloudflareFebruary 2026

  1. 1
    Article
    Avatar of cloudflareCloudflare·13w

    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 architectureweeklyArchitecture Weekly·14w

    How I cheated on transactions

    Building a multi-database driver library (Dumbo) for Node.js revealed tradeoffs when supporting Cloudflare D1, which exposes databases via HTTP API and doesn't support traditional transactions. The solution uses D1's session-based repeatable reads and SQL batches to mimic transaction behavior, requiring explicit opt-in and accepting limitations like inability to rollback across multiple statements. This approach prioritizes API safety by making users acknowledge non-standard behavior while enabling practical use cases in event sourcing and document operations.

  4. 4
    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.

  5. 5
    Article
    Avatar of hnHacker News·13w

    Never Buy A .online Domain

    A developer shares a cautionary tale about registering a free .online TLD from Namecheap for a small project. Weeks later, the domain was flagged by Google Safe Browsing and placed on serverHold by the registry (Radix) with no notification. This created a catch-22: Google requires domain verification via DNS to remove the blacklist flag, but the registry won't lift the serverHold until Google removes the flag, and DNS doesn't resolve while on serverHold. The post concludes with lessons learned: stick to .com, add domains to Google Search Console immediately, and set up uptime monitoring even for simple landing pages.

  6. 6
    Article
    Avatar of cloudflareCloudflare·14w

    Shedding old code with ecdysis: graceful restarts for Rust services at Cloudflare

    Cloudflare open-sourced ecdysis, a Rust library enabling zero-downtime service upgrades through graceful process restarts. After five years in production handling billions of requests across 330+ data centers, the library uses a fork-and-inherit model where child processes inherit listening sockets from parents, eliminating connection drops during restarts. It includes Tokio integration, systemd support, and explicit security controls. The library solves the critical problem of upgrading network services at scale without refusing connections or dropping established sessions.