Permalink
Browse files

Cache authors sidebar content

  • Loading branch information...
1 parent 34ed1a5 commit dea539309f6bd7d7976807f53d873a78d5d4547d @mvz mvz committed Dec 24, 2016
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/authors_sidebar/app/views/authors_sidebar/_content.html.erb
@@ -1,3 +1,4 @@
+<% cache sidebar.authors do %>
<% unless sidebar.authors.blank? %>
<h3 class="sidebar-title"><%= t(".authors")%></h3>
<div class="sidebar-body">
@@ -11,3 +12,4 @@
</ul>
</div>
<% end %>
+<% end %>

0 comments on commit dea5393

Please sign in to comment.