[1] http://guides.rubyonrails.org/configuring.html#rails-general...
[1]: https://devcenter.heroku.com/articles/using-amazon-cloudfron...
I've been doing it, but got some uncomfortable knee-jerk reactions from other developers, e.g. "But you should NEVER serve static assets directly!!!".
...but it's only served once!
As with music, painting, and architecture, any development-related NEVERS require that we understand the why, so we can know when to break the rule.
(Using mixed http/https was not an option.)
This is not entirely clear from the Heroku docs, I'll ping the maintainer for an update.
This is a huge cache boost in Rails because you don't have to cache your pages twice (once for HTTP once for HTTPs.)
Upworthy, you've broken me.
I basically never think about deploying assets. It nearly always just works.
Make sure you have your cache store set to dalli (production.rb)
config.assets.cache_store = :dalli_store
My biggest problem right now in term of deployment time is to sync with amazon for the assets. It literally takes 5 minutes for a small website..