.htaccess - Cloudfront max-age together with TTL usefull? -
for image gallery use amazon cloudfront. i have set @ origin: cache-control:max-age=31536000 (1 year) 1 . usefull set ttl 0 (24 hours) 1 year too when have set max-age? 2 . amazon check file ttl0 every 24 hours when have set max-age 1 year? amazon saying: objects cached greater of value of cache-control max-age directive or value of cloudfront minimum ttl amazon saying: if object in edge location isn't requested, cloudfront might evict object—remove object before expiration date—to make room objects more popular. in case, think usefull set ttl year, because images stay sure , not before? please correct me. thanks clarification. this question answered in answer cloudfront ttl not working although question not duplicate. no, minimum ttl not useful if setting own cache-control: headers. no, cloudfront not check every 24 hours if minimum ttl or cache-control: headers specify age longer 24 hours. if object going checked cloudfront, object needs...