我的视频blog地址 http://www.lofter.com/blog/cloudrivers

CloudFront 缓存持续时间和最小 TTL

对于 Web 分配,要控制对象在 CloudFront 缓存中保留多长时间后 CloudFront 将另一请求转发到源,您可以:

  • 配置源,以添加 Cache-Control 或 Expires 标头字段到每个对象。

  • 在 CloudFront 缓存行为中指定最小 TTL 的值。

  • 使用默认值 24 小时。

For web distributions, to control how long your objects stay in a CloudFront cache before CloudFront forwards another request to your origin, you can:

  • Configure your origin to add a Cache-Control or an Expires header field to each object.

  • Specify a value for Minimum TTL in CloudFront cache behaviors.

  • Use the default value of 24 hours.

posted @ 2019-10-08 15:43  Michael云擎  阅读(1217)  评论(0)    收藏  举报
我的视频blog地址 http://www.lofter.com/blog/cloudrivers