Add cache headers

This commit is contained in:
Dylan
2026-04-18 14:26:29 +01:00
parent 3d4e42223f
commit a610cd8e29
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -127,6 +127,7 @@ def lambda_handler(event, context):
"headers":
{
"Content-Type": "image/avif",
"Cache-Control": "public, max-age=604800, immutable"
},
'body': encoded_string,
'isBase64Encoded': True