views:

323

answers:

1

I think I'm probably just missing something in the docs here, but how do I specify that images I upload to S3 have a Cache-Control header when requested?

This answer seems to suggest you can do it by adding metadata, but the example isn't too clear. Can anyone point me to a code sample or some documentation of how I would do this in C# please?

+3  A: 

Well, it turns out that this is possible using the REST API for S3, but not using the SOAP methods. So the answer for me is just 'no' - unless we rewrite all our code to use the REST API.

See this AWS Support Forum post.

Mark B