| 1 | "use server"; |
| 2 | |
| 3 | import { updateTag } from "next/cache"; |
| 4 | import { redirect } from "next/navigation"; |
| 5 | |
| 6 | export async function refreshCachedStamp() { |
| 7 | updateTag("demo-stamp"); |
| 8 | redirect("/use-cache"); |
| 9 | } |