Notes on Cloudfront in front of Rails Assets on Heroku, with CORS

1 · Jonathan Rochkind · June 23, 2021, 4:37 p.m.
Heroku really recommends using a CDN in front of your Rails app static assets — which, unlike in non-heroku circumstances where a web server like nginx might be taking care of it, otherwise on heroku static assets will be served directly by your Rails app, consuming limited/expensive dyno resources. After evaluating a variety of options … Continue reading Notes on Cloudfront in front of Rails Assets on Heroku, with CORS →...