Edit

Cloudflare Pages

Instead of using Cloudflare Pages, we recommend using vike-photon for deploying static websites (aka SSG / pre-rendered apps) — see Deploy > Cloudflare.

Cloudflare Pages is being deprecated — you can still use it but the official recommendation is to start new projects with Cloudflare Workers instead.

The vike-photon extension can be used to deploy static websites as well as SSR. It always uses Cloudflare Workers — never Cloudflare Pages — since Cloudflare Workers recently added support for serving static assets.

See also