I did upload an object with Cache-Control as parameter and it does not take effect in object storage bucket but it does in AWS S3 bucket using the same code:
$s3Client->putObject([
'ACL' => 'public-read',
'Bucket' => config('filesystems.disks.object-storage.bucket_name'),
'CacheControl' => 'public, max-age=86400',
'Key' => $path,
'SourceFile' => $path,
]);
I don't really understand why the same code does not have same effect in both cloud buckets since both use S3 API.
The uploaded file has control-cache header in AWS S3 and the same file in IBM OO doesn't get the same result.
how can I set correctly control-cache header in object-storage file ?