Atma
Atma

Reputation: 29805

how to set cache control header on AWS S3 management console

I have some problems rendering images on internet explorer and I believe this maybe because there is no cache control header set.

How can I set the cache control header to an individual file on the s3 web management console?

Upvotes: 2

Views: 3255

Answers (1)

300D7309EF17
300D7309EF17

Reputation: 24653

When you have the properties panel of a S3 object loaded, expand the Metadata and add a Cache-Control header (it's even in the dropdown as an option).

Here's my "before":

s3 properties tab

And "after":

s3 properties tab with cache-control

There are many great resources for the paremeters of the cache-control header. Two of my favorites are this tutorial at mnot and mobify's "beginner's guide to http cache headers".

Upvotes: 3

Related Questions