News for hackers. Stuff that matters.
Re:If you are running Rails on Heroku, use this gem to prope... by jbaudanza on Friday March 01, 2013 @01:18PM (#5305924)
There are a few reasons I don't do this. For one, deploys take longer. Also S3 isn't able to negotiate the Accept-Encoding header. So you have to assume that all your clients will be able to handle gzipped assets.

You can use your app as a root origin for your assets, and then use something like CloudFront to offload most of the work.

Re:If you are running Rails on Heroku, use this gem to prope... by Michikono on Sunday March 03, 2013 @04:51PM (#5315385)
For the record, serving assets off S3 directly isn't a good idea. We use cloud front for that as well. Making the actual app the root origin is a good idea though. Need to think a little about the full ramifications of that versus simply having the S3 asset bucket the origin.