Question
How can I temporarily disable caching in CloudFront to isolate the origin server as the source of the 502 error?
Asked by: USER8249
112 Viewed
112 Answers
Answer (112)
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.