x-cache error from cloudfront
CloudFront’s Custom Error Page only performs a redirection and has no side effects whatsoever. Confirmed by an AWS engineer. So even if x-cache: error from cloudfront shows up in the response header, there’s no need to be too alarmed as long as it’s the intended behavior.
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/GeneratingCustomErrorResponses.html
20210910
Leave a comment