Saturday, 8 June 2013

Cloudfront cache misses 302 redirect to origin

Cloudfront cache misses 302 redirect to origin

When I query an asset on CloudFront, instead of it sending me the file directly, it 302 redirects to the origin. Here's a sample response:

THe response my server gives is the following:

I'm pretty sure the point of a CDN is that these requests shouldn't hit my origin server. What am I doing wrong?

No comments:

Post a Comment