For example cloudfront with s3, you use If-None-Match when uploading to ensure deploy fails on conflict
Reply on news.ycombinator.com