Add cache-control header.

This commit is contained in:
Dillon Kearns 2021-05-10 15:40:43 -07:00
parent 4d982bddca
commit a0fea1fdb6

View File

@ -65,6 +65,7 @@ exports.handler = async (event, context) => {
return {
statusCode: 200,
body: photoBuffer,
headers: {'Cache-Control': 'public, max-age=1800'},
isBase64Encoded: true,
};
};