t3-code-android-nightly/.repos/alchemy-effect/examples/cloudflare-website-vinext/app/isr/actions.ts
Julius Marminge 6f9cea00ae
chore(refs): sync Effect and Alchemy references to 4.0.1 and beta.80 (#16170)
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 13:22:30 -07:00

9 lines
197 B
TypeScript

"use server";
import { revalidatePath } from "next/cache";
import { redirect } from "next/navigation";
export async function refreshCachedPage() {
revalidatePath("/isr");
redirect("/isr");
}