Disable CloudFront caching question.

0

If I set the Minimum TTL, Maximum TTL, and Default TTL settings all to 0 in a cache policy in aws cloudfront, does that mean there is absolutely no way to cache? Or can it still be controlled by cache headers, cookies, another policy, or something else?

已提问 1 个月前87 查看次数
1 回答
2
已接受的回答

Hello,

Yes, Setting Minimum TTL, Maximum TTL, and Default TTL all to 0 in a CloudFront cache policy effectively disables caching by default. However, the caching can still be controlled and influenced by Cache-Control headers, cookies, query strings, and other cache policies from the origin server.

Documentation about controlling cache using Cache-Control headers, cookies, and query strings: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ConfiguringCaching.html

profile picture
专家
已回答 1 个月前
profile picture
专家
已审核 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则