[Feature Request] Ability to Add CacheControl Meta Data
Permalink Browser Info Environment
It's important to have CacheControl meta data for SEO/google speed insight results.
We can apply this as following way-
- Change the following code
- Then run `composer update`. Which does-
- `aws/aws-sdk-php` updates from 3.21.4 to 3.52.12
- `league/flysystem-aws-s3-v3` updates from 1.0.13 to 1.0.18. The minimum [version](https://github.com/thephpleague/flysystem-aws-s3-v3/blob/master/changelog.md) we need for metadata support.
But, as we have lots of clients using this add-on it's convenient for us, if we get a version update from you with this functionality.
Thanks.
We can apply this as following way-
- Change the following code
# packages/s3_storage/src/S3Storage/S3Configuration.php return new AwsS3Adapter($this->getClient(), $this->bucket, null, [ 'CacheControl' => 'max-age=604800', ]);
- Then run `composer update`. Which does-
- `aws/aws-sdk-php` updates from 3.21.4 to 3.52.12
- `league/flysystem-aws-s3-v3` updates from 1.0.13 to 1.0.18. The minimum [version](https://github.com/thephpleague/flysystem-aws-s3-v3/blob/master/changelog.md) we need for metadata support.
But, as we have lots of clients using this add-on it's convenient for us, if we get a version update from you with this functionality.
Thanks.
Type: | Ticket |
---|---|
Status: | Archived |
I'd like to 2nd this request. This is an important part of our use case as well.
As an FYI, you can set this on the bucket, the client doesn't have to send it:
https://stackoverflow.com/questions/10435334/set-cache-control-for-e...
https://stackoverflow.com/questions/10435334/set-cache-control-for-e...
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.
To re-open this issue, reply to this message.
To re-open this issue, reply to this message.