Skip to content

Commit a738923

Browse files
committed
Cache combined images
1 parent b4f903d commit a738923

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

combineImg/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ def lambda_handler(event, context):
133133
'statusCode': 200,
134134
"headers":
135135
{
136-
"Content-Type": "image/jpeg"
136+
"Content-Type": "image/jpeg",
137+
"Cache-Control": "max-age=86400"
137138
},
138139
'body': combined_str,
139140
'isBase64Encoded': True

0 commit comments

Comments
 (0)