feat: add cache control headers to GET response

This commit is contained in:
Yash
2026-02-27 12:13:50 +05:30
parent 2260520ae5
commit 92fee4fe26
+3
View File
@@ -63,6 +63,9 @@ export async function GET(request: Request, { params }: { params: Promise<{ slug
headers: {
'Content-Type': 'image/gif',
'Content-Length': image.length.toString(),
'Cache-Control': 'no-cache, no-store, must-revalidate',
Pragma: 'no-cache',
Expires: '0',
},
});
}