I'd say probably Turbolinks is your best bet there. You basically drop it in, and then it prefetches all the links on your page, and when you click them, it replaces the DOM. It works quite well actually, Rails has been using it out of the box for years and years.