Russian doll caching in rails
问题 I've heard DHH and the other great 37Signal guys talk a lot about Russian Doll Caching and I understand the concept of it, but I don't really know how to apply it to my code. How would you apply it? NEW EDIT: How would you apply the gem to a piece of code with a lot of if statements? <% if signed_in? %> <div class="timeline"> <%= link_to image_tag(current_user.avatar), designer_path(current_user), :class => "avatar topimg" %> <%= content_tag(:span, "your profile", :class => "description") %>