© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•2y ago•
35 replies
1luv

Can you deploy a Next.JS to CloudFlare Pages thats using both SSR and static SSG?

From what I can find out from the docs, CloudFlare offers two routes to deploy Next.Js, either full-stack or static. For our requirements we have 80% of the pages will be static but 20% will require some API and real-time dynamic content and both would need to be on the same domain / routes.

Could anyone help and confirm if it's possible to deploy on static and use workers for the APi/Dynamic pages on the same deployment?
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Next.js + Cloudflare pages functions
Cloudflare DevelopersCDCloudflare Developers / pages-help
13mo ago
How to deploy Next.js to Cloudflare
Cloudflare DevelopersCDCloudflare Developers / pages-help
11mo ago
Next.js 13 + next translation to Cloudflare Pages
Cloudflare DevelopersCDCloudflare Developers / pages-help
3y ago