With the introduction of ActionCable with Rails 5.0, WebSockets are now first-class citizens in the Ruby on Rails ecosystem. This article is an introduction to the WebSockets implementation in Rails.
Caching is a vital instrument to reduce the load on the server and deliver reused results and speed up page load for the user. Rails 5 introduces collection caching that can vastly improve performance.