Debug

Next.js 15

How to run the repro

  1. Open /blog in one or more new tabs (open as many as you need — this page is the controller and broadcasts to every open blog tab).
  2. Pick a tag and a transport below.
  3. Trigger an action. After it resolves, this page broadcasts router.refresh() to every open blog tab via BroadcastChannel.
  4. Watch the blog tabs to see whether the refresh picks up the revalidation.

Transport

revalidateTag()

Invalidate a cache tag.

router.refresh()

Broadcast a router.refresh() event to every open blog tab. No server round-trip.