diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx index f3fe8feb..beac17c3 100644 --- a/apps/web/src/app/layout.tsx +++ b/apps/web/src/app/layout.tsx @@ -30,6 +30,8 @@ export const metadata: Metadata = { metadataBase: new URL("https://getconduit.dev"), }; +export const dynamic = "force-static"; + export default function RootLayout({ children, }: Readonly<{ diff --git a/apps/web/src/lib/github-stars.ts b/apps/web/src/lib/github-stars.ts index 3cd8666c..46eb07c0 100644 --- a/apps/web/src/lib/github-stars.ts +++ b/apps/web/src/lib/github-stars.ts @@ -9,7 +9,7 @@ export async function getGitHubStarCount(): Promise { Accept: "application/vnd.github+json", "User-Agent": "Conduit-Website", }, - next: { revalidate: 3600 }, + cache: "force-cache", }); if (!response.ok) return null;