Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 359 Bytes

File metadata and controls

9 lines (7 loc) · 359 Bytes
@opennextjs/cloudflare patch

perf: defer regional cache writes so they do not block the response

Next.js awaits incrementalCache.set while producing the response, which put the R2 write on the critical path. The returned value is unused, so the writes now run in ctx.waitUntil — matching how the read path already defers its cache updates.