Remove redundant cache key to fix billboard issue (#18820)

This commit is contained in:
Ben Halpern 2022-12-08 12:04:21 -05:00 committed by GitHub
parent ef854eac77
commit 77d4d647a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>