Add a cache life profile to revalidateTag

Proprietary

Next.js 16 deprecated revalidateTag(tag) with a single argument. Adds { expire: 0 } as the second argument, which keeps the immediate expiration revalidateTag(tag) had in Next.js 15: the next request waits for fresh data. Switch a call to the 'max' profile (stale-while-revalidate) or to updateTag in a Server Action where that fits better.

io.moderne.nextjs.16.revalidate-tag-profile
mod run . --recipe=io.moderne.nextjs.16.revalidate-tag-profile

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.