Setting Up a Cloudfront CDN for Rails? Implementing a CDN to serve compiled assets in Rails is one of the most significant performance enhancements I’ve seen. Having done so for 2 fairly large applications, it’s hard for me to imagine serving assets locally anymore. The Asset Pipeline The addition of the Rails asset pipeline has reduced both the number of assets served and the size of these files. Users on slow connections have been the biggest beneficiary of these changes. The Problem Even with the asset pipeline, content is transmitted to the end user over their, sometimes slow, connection. Distance plays a role in the speed at which data can be delivered. Because of this, users further away from your servers get a sluggish experience. This decreases both the users’ patience and your ability to effectively engage them. The Solution CDNs are networks of servers that host your content so that when you make a request, the request is served from a server closest to you. This can often...
I love Ruby on rails.Ruby on Rails Coding is not my job its my passion ..