diff --git a/app/views/shell/_top.html.erb b/app/views/shell/_top.html.erb index d9d1e08e1..9c0c81786 100644 --- a/app/views/shell/_top.html.erb +++ b/app/views/shell/_top.html.erb @@ -44,20 +44,20 @@ <% end %> <% unless internal_navigation? %> - "> -
- <% if user_signed_in? %> - <%= render "layouts/user_config" %> - <% end %> + <% cache(cache_key_heroku_slug("top-html-and-config--#{user_signed_in?}")) do %> + "> +
+ <% if user_signed_in? %> + <%= render "layouts/user_config" %> + <% end %>
<%= yield(:audio) %>
- <% cache("application-top-bar--#{user_signed_in?}", expires_in: 100.hours) do %> <%= render "layouts/top_bar" %> - <% end %> -
-
- loading... -
+
+
+ loading... +
+ <% end %> <% end %>