Minimize Amazon Cloudfront Costs With Octopress and S3

I learned an important tip that I thought I should share with others who are considering Octopress with publishing to S3/Cloudfront. If the S3 deployment line in your Rakefile includes the s3cmd option for “–cf-invalidate” you should be aware that this will drive up your costs quite a bit. (3 guesses how I know this) I had about a years worth of expected CF costs in my first month because I didn’t understand what that was doing.