Refresh cached pages when your app updates D1
Your Next.js app can now keep cached, database-backed content up to date without assigning cache
tags by hand. When a "use cache" function reads the app's default D1 database, Arkor tracks that
dependency. A write through the managed D1 binding invalidates cached content that depends on the
database and schedules eligible public pages to regenerate in the background.
For example, an admin action can publish a post to D1 and have the cached post list refresh,
without a matching revalidateTag() call in the action. Cached content that does not read D1
keeps its existing cache policy.
Deploy again to enable this behavior. It applies to the single default D1 database exposed by Upwind, and to writes made through the app's managed binding. Direct writes from outside the app are not detected. Regeneration and regional propagation are asynchronous; routes that depend on a request or cannot be reproduced safely regenerate when used instead.
See Bindings to access D1 and Incremental Static Regeneration for caching behavior.