Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating Cache-Control Header on S3 Files #155

Open
neilchaudhuri opened this issue Dec 7, 2012 · 1 comment
Open

Updating Cache-Control Header on S3 Files #155

neilchaudhuri opened this issue Dec 7, 2012 · 1 comment

Comments

@neilchaudhuri
Copy link

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.

@neilchaudhuri
Copy link
Author

Anyone? Bueller?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant