Merge pull request #4054 from Yashh56/cache-control

feat: add cache control headers to GET response
This commit is contained in:
Mike Cao authored and GitHub committed 2026-03-25 13:42:23 -07:00
commit 9fd4fe628d
1 file changed
+3
+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',
},
});
}