Open
Description
I am using the Serverless Image Handler, which utilizes a CloudFront distribution to cache images. My origin S3 buckets have versioning enabled. However, I have encountered an issue where CloudFront does not respect the versionId query parameter and always retrieves the latest version of an image. Or maybe CloudFront respect that but Lambda does not?
I have taken the step of configuring CloudFront to pass the versionId query parameter, but unfortunately, it does not seem to be working as expected. I'm unsure of what I might be missing or if there is something else I need to consider. Could you please provide some guidance or suggestions on how to address this issue?