Skip to content

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 2 years ago389 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

EXPERT
answered 2 years ago
EXPERT
reviewed 2 years 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.