0

I'm publishing Yii2 Assets to S3 bucket cloudfront CDN, mannually there is an option to add Cache-control expiry (TTL). Seeking for an option to automate publish assets with Cache-control header in s3 bucket.

1 Answers1

0

cache-control can be added to S3 objects using both ways, while making PUTobject or updating the existing object metadata.

See the below thread:

S3 cache-control

James Dean
  • 4,033
  • 1
  • 9
  • 18