Setting headers for files uploaded to S3

Hey team! Wondering if it would be possible on the S3 upload action to give the option to set particular request headers on uploaded objects? Currently there is no way to set things like the Cache-Control or Expires headers on files that should have them - this is critical for being able to give my uploaded site asset files a ‘far-future’ expiration date, for best caching performance.

ref: http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUT.html#RESTObjectPUT-requests

Hey @michaelroper, we’re going to add it, definitely.
We’ll let you know once we’re ready with that.

Great to hear, thanks @Octavia!

@michaelroper, that feature has already been added. Have you had a chance to check it?

1 Like