Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default AWS S3 metadata? #246

Open
broncha opened this issue Feb 19, 2021 · 0 comments
Open

Default AWS S3 metadata? #246

broncha opened this issue Feb 19, 2021 · 0 comments
Assignees

Comments

@broncha
Copy link

broncha commented Feb 19, 2021

Hi,
We have a use case where liip imagine stores the output of filters to S3 using gaufrette file system.
Now we need to add default 'CacheControl' metadata to all files uploaded to this filesystem, and I cant find a way to do that.

Wherever we upload files ourselves, we are doing

$adapter->setMetadata($filename, [
    'CacheControl' => 'max-age=31556952'
]);

But I can't find anything that allows us to define default metadata for AwsS3 Adapter from this bundle.
AwsS3 Adapter itself accepts options but the configuration in this bundle only few params

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants