options for physical architecture of rails site regarding caching server or cdn

Posted by timpone on Server Fault See other posts from Server Fault or by timpone
Published on 2012-10-06T02:43:00Z Indexed on 2012/10/06 3:39 UTC
Read the original article Hit count: 150

I have a rails app that is set on a single server currently. On production, I force_ssl for everything. I am interested in using a caching server for images (I'm fine with css and js being served from origin for time being). Would nginx or varnish (which I have no experience with) be a better solution (for October 2012)? I'd imagine that it would be easy to switch these around while still on this single server architecture. Or would something like cloudfront (which I also have no experience with) make sense for hosting image files?

I know this is a vague question but appreciate any current feedback.

thx in advance

© Server Fault or respective owner

Related posts about nginx

Related posts about ruby-on-rails