Setting Default HTTP Header "Cache-Control" not working with S3 Browser

StackOverflow https://stackoverflow.com/questions/14513881

  •  17-01-2022
  •  | 
  •  

Question

I am trying to use the S3 Browser Windows client (http://s3browser.com/) to have the "Cache-Control" header default to "max-age=0".

It is not working. I know this because once I upload a file (from my Web server to AWS S3), the header is not there.

Here's what my Default HTTP Header settings look like:

enter image description here

Does anyone know why this header is not being set for newly-uploaded files?

I am running S3 Browser version 3-7-5.

Était-ce utile?

La solution

It turns out that I misunderstood what the Default HTTP Header does. I thought that if I set a default header, the header would be set even if I uploaded files from my web server to S3. This is not true; Default HTTP Headers only affect files uploaded from the S3 Browser program.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top