t3-code-android-nightly/.repos/alchemy-effect/examples/cloudflare-website-vinext/app/use-cache/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
200 B
TypeScript

"use server";
import { updateTag } from "next/cache";
import { redirect } from "next/navigation";
export async function refreshCachedStamp() {
updateTag("demo-stamp");
redirect("/use-cache");
}