humanmade / S3-Uploads

The WordPress Plugin to Store Uploads on Amazon S3
1.94k stars 389 forks source link

Set cache-control header for assets uploaded to S3 #611

Closed wisyhambolu closed 1 year ago

wisyhambolu commented 1 year ago
mikelittle commented 1 year ago

@wisyhambolu By the way, you can use curl -i https://terraform-app-stack.aws.humansmadeus.com/uploads/2022/11/stock-video.mp4 to see the headers in a slightly shorter and less messy format

wisyhambolu commented 1 year ago

Closing PR in favor of using CF response headers to set headers.