What We Learned Shipping Next.js on Cloudflare Without Splitting the Product Apart
A unified Next.js codebase can run on Cloudflare Pages without splitting the frontend and backend apart, using the @cloudflare/next-on-pages adapter — but it means rewriting Node.js-dependent code to use Web APIs, replacing ISR with a Cloudflare KV caching layer, and switching to stateless JWT-based authentication.

