News for hackers. Stuff that matters.
Re:Amazon S3 Object Lambda by ralusek on Saturday March 20, 2021 @09:23AM (#26523048)
At the moment this is currently handled with lambda @ edge with Cloudfront. The benefit with Cloudfront over S3 lambda is that the image is automatically cached after the resize is computed.
Re:Amazon S3 Object Lambda by mwarkentin on Saturday March 20, 2021 @11:38AM (#26523866)
You could cache the image with s3 lambda too, no?

Edit: I guess you meant that cloudfront caches it for you automatically.

Re:Amazon S3 Object Lambda by ralusek on Saturday March 20, 2021 @12:55PM (#26524369)
Exactly, yup. Whatever it returns is automatically cached at the key.