cache headers for sponsors

This commit is contained in:
Will Freeman
2026-02-02 11:24:30 -07:00
parent 9e2e22f168
commit 9b55fd4f43

View File

@@ -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;
});