Branchwell

Become a Pro / website · becomeapro.ai / open-next.config.ts

Raw 477 B on 59dac1cc932d622dfc4d6c274a9ed8e9abcc5e5e
1import { defineCloudflareConfig } from "@opennextjs/cloudflare";
2import staticAssetsIncrementalCache from "@opennextjs/cloudflare/overrides/incremental-cache/static-assets-incremental-cache";
3
4// The tutorial pages compile their MDX at build time. Serve that prerendered
5// HTML and RSC payload from Workers Assets without evaluating MDX at runtime.
6export default defineCloudflareConfig({
7 incrementalCache: staticAssetsIncrementalCache,
8 enableCacheInterception: true,
9});