Get the latest tech news

The Experience of Deploying Next.js Apps on Cloudflare


I recently went through the process of deploying various small Next.js applications to Cloudflare. As part of working on a new command called "neonctl create-app", we built a way to automatically deploy Next.js full-stack apps (i.e., Next.js apps with a backend+frontend) to both Cloudflare and

On Cloudflare deployments, I hit this issue where Set-Cookie in a HTTP response is not actually triggering all cookies to be set. Another issue I hit exclusively on Cloudflare Pages deployments is that the statusText of a HTTP response is not making it to the client. It seems that Cloudflare should invest a lot more into making contributions to as many packages as possible such that deploying on Workers becomes easier for most people.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of apps

apps

Photo of Experience

Experience

Photo of Cloudflare

Cloudflare

Related news:

News photo

Majority of sites and apps use dark patterns in the marketing of subscriptions

News photo

Microsoft is reportedly having trouble getting some of the biggest names in tech to optimize their apps and add new features for 'AI PCs.'

News photo

The best finance and security apps for college students