Add the CacheControl header during the writing options phase. Without this, the header used during the upload is 'controlCache', and it's not taken into account by S3 as metadata.
Types of changes
[X] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Proposed changes
Add the CacheControl header during the writing options phase. Without this, the header used during the upload is 'controlCache', and it's not taken into account by S3 as metadata.
Types of changes
Checklist