I suggest not to invalidate everything in the root of cloudfront everytime you deploy, invalidating…
bravo keyl
11

bravo keyl Thanks for pointing me in that direction, I just read that piece of the AWS documentation, that makes sense I am definitely adding extra cost. I am curious how this works with my custom error responses though, if I invalidate the / path only, on the next request if it hits /other/path will it serve an old index.html or the new one? 
Thanks for your discussion, much appreciated!

Like what you read? Give Colin Walker a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.