Nuxt Content behind Cloudflare

When I use Nuxt Content behind Cloudflare, I have the issue that some pages (but not all) cannot be resolved: Document not found, overwrite this content with #not-found slot in <ContentDoc>., but it works when run locally in dev (bun dev) and production mode (bun run build). In this case I'm not even using Cloudflare Pages, just having the website configured with Cloudflare in the DNS. Is it possible that some special configuration is required to make Nuxt Content work with Cloudflare? I've already turned off minification caching, and similar settings that are proposed in the Cloudflare Pages Deployment page.