When sending a file to S3, some headers, including Cache-Control, are copied and sent to clients who request the object.

Making this configurable helps optimize cache in the browser and CloudFront or other proxy/CDN.

Patch to follow.

Comments

glennpratt’s picture

StatusFileSize
new2.37 KB

Patch against 1.x... looks like minor modifications needed for 2.x.

arthurf’s picture

Looks good. Can you provide a patch against 2.x as well?