1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-18 13:25:32 -04:00

properly use vercel data cache for fetch results

This commit is contained in:
2025-04-04 11:32:20 -04:00
parent f0d4937f0f
commit 68b09ebc36
4 changed files with 42 additions and 33 deletions

View File

@@ -86,8 +86,8 @@ const getRepos = async (): Promise<Project[] | null> => {
...options,
cache: "force-cache",
next: {
// 10 minutes
revalidate: 600,
revalidate: 600, // 10 minutes
tags: ["github-api"],
},
});
},