diff --git a/packages/github-user-contribution-service/api/github-user-contribution/[userName].ts b/packages/github-user-contribution-service/api/github-user-contribution/[userName].ts index 19b5c3ff9..3c79b5cc4 100644 --- a/packages/github-user-contribution-service/api/github-user-contribution/[userName].ts +++ b/packages/github-user-contribution-service/api/github-user-contribution/[userName].ts @@ -6,6 +6,7 @@ export default async (req: VercelRequest, res: VercelResponse) => { try { res.setHeader("Access-Control-Allow-Origin", "https://platane.github.io"); + res.setHeader("Cache-Control", "max-age=21600"); res.statusCode = 200; res.json( await getGithubUserContribution(userName as string, {