1import { defineCloudflareConfig } from "@opennextjs/cloudflare";
2import staticAssetsIncrementalCache from "@opennextjs/cloudflare/overrides/incremental-cache/static-assets-incremental-cache";
3import memoryQueue from "@opennextjs/cloudflare/overrides/queue/memory-queue";
4
5export default defineCloudflareConfig({
6 // Read-only incremental cache backed by the ASSETS binding — no KV/R2/D1
7 // required, so the fixture stays fully local. ISR pages serve their
8 // prerendered payloads; revalidation writes are no-ops (a known dev-v1
9 // limitation until cloudflare-runtime grows local writable storage).
10 incrementalCache: staticAssetsIncrementalCache,
11 // Exercises the WORKER_SELF_REFERENCE service binding for revalidation.
12 queue: memoryQueue,
13});