Two things to check:
- Ensure that the cache settings in CloudFront have not been set to zero - it is possible to override the default action (see the next point).
- CloudFront honours the cache headers as sent by the origin. So if the origin specifies zero (or little) cache time, that's what CloudFront does.
CloudFront redirects (301) to custom origin (ELB) instead of cachingAccepted Answerasked 2 years ago
CodeBuild LOCAL_CUSTOM_CACHE not cachingAccepted Answerasked 3 years ago
Caching is not working properly in Cloudfrontasked 7 months ago
Why does api-gw-cache-enabled-and-encrypted require caching for NIST 800-171 compliance?asked 5 months ago
Does Athena support query caching?asked 4 years ago
How do I use Amazon CloudFront with AWS Elastic Beanstalk as the origin?Accepted AnswerEXPERTasked 3 years ago
Secrets Manager PHP cachingasked a day ago
ALB instead of Cloudfront in front of single serverasked 6 months ago
How to use the same ACM certificate with CloudFront and ELBAccepted Answerasked 4 years ago
Spectrum performance caching and performanceAccepted Answerasked 4 years ago