对于 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.

相关文章:

  • 2021-09-30
  • 2022-12-23
  • 2021-07-23
  • 2022-12-23
  • 2021-08-08
  • 2022-12-23
  • 2021-12-09
  • 2021-11-10
猜你喜欢
  • 2021-12-04
  • 2021-06-16
  • 2022-12-23
  • 2021-12-04
  • 2022-02-28
  • 2021-07-07
  • 2022-12-23
相关资源
相似解决方案