#Cloudflare workers vs cloudflare pages

8 messages · Page 1 of 1 (latest)

vocal trail
#

I am confused what to use for deployment of Next.js storefront+ payloadcms app: workers or pages??
Next.js storefront which I would be deploying is:https://github.com/medusajs/nextjs-starter-medusa.git

Also, I have a multi-tenant usecase where a single storefront would be serving thousands of tenants requiring ISR from Next.js.

1 click Payloadcms is for coudflare workers, so I am confused.

GitHub

A performant frontend ecommerce starter template with Next.js - medusajs/nextjs-starter-medusa

shadow prairie
#

use cloudflare worker

vocal trail
shadow prairie
vocal trail
#

Also, recently (4/8/2025) cloudflare recommended "starting with workers" and announced "going forward, all of our investment, optimizations, and feature work will be dedicated to improving Workers".
https://blog.cloudflare.com/full-stack-development-on-cloudflare-workers/#start-with-workers

The Cloudflare Blog

You can now deploy static sites and full-stack applications on Cloudflare Workers – the primitives are all here. Framework support for React Router v7, Astro, Vue, and more are generally available today, as is the Cloudflare Vite plugin. Connect to Postgres and MySQL databases with Hyperdrive.

sour cargo
#

Yeah, Pages is all but deprecated