How can I temporarily disable caching in CloudFront to isolate the origin server as the source of the 502 error?

Question

Grade: Education Subject: Support
How can I temporarily disable caching in CloudFront to isolate the origin server as the source of the 502 error?
Asked by:
112 Viewed 112 Answers

Answer (112)

Best Answer
(281)
You can temporarily disable caching by setting the cache policy to 'CachingDisabled'. This forces CloudFront to always request the content from the origin. If the 502 error disappears when caching is disabled, it strongly suggests a problem with your origin server or its response.