← All topics
opennext
1 piece
Your Prerendered Pages Return 404 on Cloudflare Workers
A Next.js dynamic route builds as SSG, deploys without error, and 404s in production. The cause is one missing line of configuration, and nothing in the build will tell you.
Prerendered pages of a dynamic route are served through OpenNext's incremental cache, not from the asset bucket. With no cache adapter configured they 404 in production while every static route works and the build reports success.
2026-09-07 · technical-essay · 5 min read