RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Everything You Ever Wanted To Know About View Caching In Rails

If you’ve ever built a UI in Rails, you’ve probably noticed that views tend to get slower over time. That’s because adding features to a UI often means adding DB queries to the view. They add up. Fortunately, Rails provides us with an easy-to-apply band-aid in the form of view caching. In this article, Jonathan Miles introduces us to view caching, discusses when it’s appropriate to use, and covers common pitfalls to watch out for. https://www.honeybadger.io/blog/ruby-rails-view-caching/

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in