Hacker News new | ask | show | jobs
by _raul 4237 days ago
Using a CDN (Cloudfront, Fastly add-on, ...) is a common choice, as it allows delivering assets from a closer datacenter to the client and removes load from the app server.
1 comments

Yeah but getting assets to said cdn is annoyingish without having app server origin, I'd argue.
I find the setup pretty simple and convenient if you configure the CDN to fetch the assets from the app (in which the app will need to serve the assets only once for each new release).
It's trivial with Rails, at least.