diff --git a/src/app/(drift)/home/page.tsx b/src/app/(drift)/home/page.tsx index 77b26e48..a8451865 100644 --- a/src/app/(drift)/home/page.tsx +++ b/src/app/(drift)/home/page.tsx @@ -1,3 +1,5 @@ import HomePage from "../page" export default HomePage + +export const revalidate = 300 diff --git a/src/app/(drift)/page.tsx b/src/app/(drift)/page.tsx index 02d83200..af4e9580 100644 --- a/src/app/(drift)/page.tsx +++ b/src/app/(drift)/page.tsx @@ -12,6 +12,8 @@ import { cache, Suspense } from "react" import ErrorBoundary from "@components/error/fallback" import { Stack } from "@components/stack" +export const revalidate = 300 + const getWelcomeData = cache(async () => { const welcomeContent = await getWelcomeContent() return welcomeContent