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,