From b727c110a22e2fd55c48adc569d9d20f27cbd015 Mon Sep 17 00:00:00 2001 From: Andreas Knuth Date: Fri, 3 Jul 2026 17:04:43 -0500 Subject: [PATCH] Cache-Busting --- app/[locale]/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/[locale]/page.tsx b/app/[locale]/page.tsx index eb2be05..657471e 100644 --- a/app/[locale]/page.tsx +++ b/app/[locale]/page.tsx @@ -36,7 +36,7 @@ export default function Home({ params }: { params: Promise<{ locale: string }> } const load = useCallback(async () => { try { - const res = await fetch(`/api/matches?locale=${locale}`, { cache: "no-store" }); + const res = await fetch(`/api/matches?locale=${locale}&t=${Date.now()}`, { cache: "no-store", headers: { "Pragma": "no-cache", "Cache-Control": "no-cache" } }); if (!res.ok) { const body = await res.json().catch(() => ({})); throw new Error(body.detail || `Fehler ${res.status}`);