title: CDN (Cloudfront) Cache Invalidation using Carrierwave
body: <p>I'm using carrierwave to allow users to upload images with an ability to crop after upload, the issue is the versions get created and CDN catch them instantly that when users crop they don't see changes because the Cloudfront cache has to be invalidated and takes quite a decent time to refresh on its own.</p>
  
  <p>I thought putting version numbers on file names might be a good way to sorta invalidate cache, how to achieve that using Carrierwave?</p>
  
  <p>And is that the best approach? </p>