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?

asked 24 days ago86 views
1 Answer
2
Accepted Answer

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
answered 24 days ago
profile picture
EXPERT
reviewed 24 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions