If you want to use Next.js' fetch cache, you should use the Next.js options
If you want to use Next.js' fetch cache, you should use the Next.js options
--disable-worker-minification flag when buildingThe 'cache' field on 'RequestInitializerDict' is not implemented. when called on the pages deployment."@cloudflare/next-on-pages": "^1.11.0","next": "^14.0.4",export const runtime = 'edge'wrangler pages dev I can indeed execute rpc method but it also won't work if the worker is running with wrangler dev --remoteBINDING.fetch("/some-route", options) ? I couldn't find an example on thispages_build_output_dir should be set to .vercel/output ?

.vercel/output/staticimport { ImageResponse, GoogleFont } from "@cf-wasm/og/next";
new ImageResponse(<div>Hello</div>, {
fonts: [new GoogleFont("JetBrains Mono")]
});const response = await fetch(`/example`, {
cache: 'no-store'
});import WelcomeForm from '@/components/welcome/WelcomeForm'
import { getAccountOfCurrentSession } from '@/lib/api/accounts/queries'
export const runtime = 'edge'
export default async function WelcomePage () {
const account = await getAccountOfCurrentSession()
return (
account && (
<main className='flex justify-center md:max-h-[80vh] md:min-h-[80vh] overflow-auto overflow-y-scroll scrollbar lg:mt-4'>
<div className='flex flex-col space-y-2 max-w-[90%] md:max-w-[50%]'>
<h1 className='my-4 text-2xl font-semibold text-center'>
Bienvenue! Complétez votre profil avant de commencer
</h1>
<WelcomeForm account={account} />
</div>
</main>
)
)
}