Closed rickzal13 closed 5 years ago
How To Add cache control header ?? can i add code.. private $headers = array( 'Host' => '', 'Date' => '', 'Content-MD5' => '', 'Content-Type' => '','Cache-Control' => '' );
to add header cache-control ?? by mine it's work.. but I need approve you to add this.. what the impact ??
Set custom headers in $requestHeaders param.
S3::putObject(S3::inputFile(SOME_FILE, false), BUCKET, DEST, S3::ACL_PUBLIC_READ, [], ["Cache-Control" => "max-age=864000"]);
How To Add cache control header ?? can i add code.. private $headers = array( 'Host' => '', 'Date' => '', 'Content-MD5' => '', 'Content-Type' => '','Cache-Control' => '' );
to add header cache-control ?? by mine it's work.. but I need approve you to add this.. what the impact ??