CloudFront Cache Policy

CloudFront Cache Policy in AWS defines how CloudFront caches content based on request headers, cookies, and query strings. It controls what values are included in the cache key and how long objects stay in the cache. By customizing cache policies, you can optimize performance, reduce origin load, and fine-tune content delivery behavior for different applications.

aws.cloudfront_cache_policy

Fields

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
cache_policycorejsonThe cache policy.
e_tagcorestringThe current version of the cache policy.
tagscorehstore