Next.JS SSG/SSR support with CloudFlare Pages


I’d like to host our Next.js website on Cloudflare Pages but Pages only support next export at the moment. It’s a problem because built-in image optimization and Internationalized Routing features requires SSG (doesn’t work with next export). It’s a huge limitation for a production ready website.
Is SSR support in your roadmap for Pages ?


Yes it is, you can sorta do it now with Workers (Blog post by a community member on that here: Server Side Rendering Vue.js 3.2+ on Cloudflare Workers with pipeToWebWritable)

As for the image optimization, Pages has this option natively (in the upcoming week or two).