AWS CloudFront default cache behavior allows customizing Min TTL, Max TTL and Default TTL value. I repeatedly went through the documentation but could not understand what is actual difference between Default TTL and Maximum TTL. For example, if I give 24 hours (in seconds) in Default TTL then what happens to a different duration I apply in Max TTL?
From what I can see:
For example, if the application sets the caching duration to 90 minutes via the headers, but the Maximum TTL is set to 60 minutes, then CloudFront will cache for 60 minutes.
See documentation: Specifying How Long Objects Stay in a CloudFront Edge Cache (Expiration)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With