AWS CloudFront invalidation Sync - 01-11-20

$ aws cloudfront create-invalidation --distribution-id E29OAXKYAP0NP8 --paths  /work/

Pairing well with the sync is invalidating the CDN so that the live site is updated immediately with the S3 bucket. Like everything these days, there is a cost involved with this operation so if I’m not in a rush I often avoid it. Also you can reduce cost by using –paths only invalidating needed routes.


lustforge - great blog post

\- [ aws ]