From 401d3bbd25d4a249f9078eb70d6bf06c07233b59 Mon Sep 17 00:00:00 2001 From: Rerrah Date: Thu, 18 Sep 2025 23:25:38 +0900 Subject: [PATCH] Set revalidatation settings in top page --- app/page.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/page.tsx b/app/page.tsx index 4da6969..302a6b7 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -7,6 +7,9 @@ import type { InstrumentMetaInfo } from "./types"; const NEW_INSTRUMENT_COUNT = 6; const LIKE_RANKING_COUNT = 5; +// Refresh cache per 5 minutes. +export const revalidate = 300; + export default async function HomePage() { const { docs: newest } = await searchInstruments({ pageSize: NEW_INSTRUMENT_COUNT,