From 9b55fd4f431634d2ab7f95b7cef084551d97619a Mon Sep 17 00:00:00 2001 From: Will Freeman Date: Mon, 2 Feb 2026 11:24:30 -0700 Subject: [PATCH] cache headers for sponsors --- api/server.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/api/server.ts b/api/server.ts index dc142de..bfbebd7 100644 --- a/api/server.ts +++ b/api/server.ts @@ -101,6 +101,7 @@ const start = async () => { }, }, async (request, reply) => { const { username } = request.query as { username?: string }; + reply.header('Cache-Control', 'public, max-age=60, s-maxage=600'); const result = await githubClient.getSponsors(username || 'frillweeman'); return result; });