[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

# 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: New
concrete5cojp
View Replies:

concrete5 Environment Information

# concrete5 Version
Core Version - 8.3.2
Version Installed - 8.3.2
Database Version - 20180122213656

# Server Software
nginx/1.10.0

# Server API
fpm-fcgi

# PHP Version
7.0.6

# PHP Extensions
cgi-fcgi, Core, ctype, curl, date, dom, fileinfo, filter, gd, gettext, hash, iconv, json, libxml, mbstring, mcrypt, mysqli, mysqlnd, newrelic, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, SimpleXML, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, Zend OPcache, zip

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 128M
sql.safe_mode - Off
upload_max_filesize - 128M
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
newrelic.special.max_nesting_level - -1
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.