how to set cache control header on AWS S3 management console

后端 未结 1 1545
别那么骄傲
别那么骄傲 2021-01-07 02:50

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 hea

相关标签:
1条回答
  • 2021-01-07 03:39

    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":

    And "after":

    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".

    0 讨论(0)
提交回复
热议问题