You can add the cache control header for file using following code either in filter as mentioned in above post(recommended) or by directly adding this line at amazon-s3-and-cloudfront/classes/amazon-s3-and-cloudfront.php:593 above ‘Expires’ header.(not recommended)
$args[‘CacheControl’] = ‘max-age=31536000, public’;