[deploy] Add following_tags_count to user sidebar stats cache key (#11042)
This commit is contained in:
parent
bbc55e2e7b
commit
218713739b
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@
|
|||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% cache "user-profile-sidebar-stats-#{@user.id}-#{@user.last_article_at}-#{@user.last_comment_at}-#{@user.last_followed_at}", expires_in: 10.days do %>
|
||||
<% cache "user-profile-sidebar-stats-#{@user.id}-#{@user.last_article_at&.rfc3339}-#{@user.last_comment_at&.rfc3339}-#{@user.following_tags_count}-#{@user.last_followed_at&.rfc3339}", expires_in: 10.days do %>
|
||||
<div class="sidebar-data">
|
||||
<div>
|
||||
<%= pluralize @user.articles.published.size, "Post" %> Published
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue