fix: image cache on browsers

This commit is contained in:
trafficlunar 2026-04-02 18:45:54 +01:00
parent 5b550b9304
commit 6fd51e9f07

View file

@ -110,6 +110,6 @@ export async function GET(request: NextRequest, { params }: { params: Promise<{
return rateLimit.sendResponse(buffer, 200, {
"Content-Type": "image/png",
"X-Robots-Tag": "noindex, noimageindex, nofollow",
"Cache-Control": "public, max-age=31536000, immutable",
"Cache-Control": "public, max-age=60, stale-while-revalidate=30",
});
}