Hi.
Open the file :
administrator/components/com_jaamazons3/controllers/localrepo.php
Look for (show up 2 times)
$s3->putObject([
.....
]);
'CacheControl' => 'max-age=172800',
'Expires' => 'Thu, 21 Mar 2042 08:16:32 GMT',
change the number and the date to what you want.
Do the same with file:
/administrator/components/com_jaamazons3/controllers/repo.php
Look for. (show up 1 time)
$opts = array(
'Bucket' => $bucket->bucket_name,
'Key' => $filename,
'Body' => $content,
'ACL' => ACL_PUBLIC_READ,
);
// Upload an object to Amazon S3
$result = $s3->putObject($opts);
Add the code to.
$opts = array(
.......
'CacheControl' => 'max-age=172800',
'Expires' => 'Thu, 21 Mar 2042 08:16:32 GMT',
);
Do the same to the file: (show up 1 time.)
/administrator/components/com_jaamazons3/controllers/file.php