Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down