Fast applications drive more user engagement and a better experience. Every developer wants their application to be highly responsive. Also, with the proliferation of mobile devices on slower connections, we need to be more focused than ever on web performance.
But how do we do it? There is no single trick to have a fast application. It takes time and a combination of different techniques to reduce our page load time. We must attack the problem from different angles and optimize each layer within our applications stack. In this chapter, you will learn how to optimize a Ruby on Rails application. You'll learn about asset optimization, caching, and a few tricks that are specific to Heroku.