voxxit/s3-static-site — pull request #8 by j15e (2012-11-17 19:42:02+00:00)
Title: Add support for S3 write options

Simply allow custom S3 write option (ex. to set Cache-Control)

### S3 write options

s3-static-site sets files `:content_type` and `:acl` to `:public_read`, add or override with :

set :bucket_write_options, {
cache_control: "max-age=94608000, public"
}

See aws-sdk [S3Object.write](http://rubydoc.info/github/amazonwebservices/aws-sdk-for-ruby/master/AWS/S3/S3Object#write-instance_method) documentation for all available options.