I’ve got a client that is using Cloudfront. One day last week, an edge location got a corrupted version of a javascript file which took their site offline for around 30 mins for people in a small area close to the edge location. Then the edge location pulled the correct file and all is right with the world.
However, the client wants to know a few things:
-
How did the cache resolve itself?
-
Is there a way to flag an edge location as unusable?
My thought on #1 is there is probably a system where hashes of files are compared between edge locations and and if a file does not match the majority, it’s re-downloaded (this is just an idea and I have no idea if this is accurate)
My thought on #2 is beyond selecting regions when you set up a cloudfront distribution, you have no say on what edge locations your distribution uses.
Does anyone know the answer to these questions?
Thanks!