Remove redundant cache key to fix billboard issue (#18820)
This commit is contained in:
parent
ef854eac77
commit
77d4d647a6
1 changed files with 1 additions and 4 deletions
|
|
@ -211,10 +211,7 @@
|
|||
</main>
|
||||
|
||||
<aside class="crayons-layout__sidebar-right" aria-label="<%= t("views.articles.right_nav") %>">
|
||||
<% stick_nav_cache_key = "sticky-sidebar-#{@article.id}-#{(@organization || @user).profile_updated_at}-#{(@organization || @user).latest_article_updated_at}" %>
|
||||
<% cache(stick_nav_cache_key, expires_in: 50.hours) do %>
|
||||
<%= render "articles/sticky_nav" %>
|
||||
<% end %>
|
||||
<%= render "articles/sticky_nav" %>
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue