如何在AWS S3管理控制台上设置缓存控制标头 [英] how to set cache control header on AWS S3 management console

查看:299
本文介绍了如何在AWS S3管理控制台上设置缓存控制标头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Internet Explorer上渲染图像时遇到一些问题,我相信这可能是因为没有设置缓存控件标头.

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

如何在s3 Web管理控制台上将缓存控制标头设置为单个文件?

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

推荐答案

加载了S3对象的属性面板后,展开元数据"并添加Cache-Control标头(甚至在下拉列表中也可以选择).

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

这是我的之前":

之后":

关于缓存控制标头的参数有很多很棒的资源.我的两个最爱是本教程位于mnot .

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

这篇关于如何在AWS S3管理控制台上设置缓存控制标头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆