I have tried numerous ways to use right_aws to set a value for the Cache-Control header on my images on S3. However, I can never change the key.headers. At best, I can change key.meta_headers. The problem though is that the change doesn't affect anything when the file is downloaded by the browser. Inspecting the response headers of the downloaded files reveals no difference.
Is this a limitation, or feature, of files stored on S3? If not, please tell me which API call I should use to have the Cache-Control header set on the files when they come to the browser.
I have tried numerous ways to use right_aws to set a value for the Cache-Control header on my images on S3. However, I can never change the key.headers. At best, I can change key.meta_headers. The problem though is that the change doesn't affect anything when the file is downloaded by the browser. Inspecting the response headers of the downloaded files reveals no difference.
Is this a limitation, or feature, of files stored on S3? If not, please tell me which API call I should use to have the Cache-Control header set on the files when they come to the browser.
Thanks.