[deploy] Move fragment cache to more efficient location (#7079)
* Move fragment cache to more efficient location * Fix syntax error
This commit is contained in:
parent
1e4d7a5d2c
commit
eaefd588aa
1 changed files with 11 additions and 11 deletions
|
|
@ -44,20 +44,20 @@
|
|||
<% end %>
|
||||
</head>
|
||||
<% unless internal_navigation? %>
|
||||
<body data-user-status="<%= user_logged_in_status %>" data-pusher-key="<%= ApplicationConfig["PUSHER_KEY"] %>">
|
||||
<div id="body-styles"></div>
|
||||
<% if user_signed_in? %>
|
||||
<%= render "layouts/user_config" %>
|
||||
<% end %>
|
||||
<% cache(cache_key_heroku_slug("top-html-and-config--#{user_signed_in?}")) do %>
|
||||
<body data-user-status="<%= user_logged_in_status %>" data-pusher-key="<%= ApplicationConfig["PUSHER_KEY"] %>">
|
||||
<div id="body-styles"></div>
|
||||
<% if user_signed_in? %>
|
||||
<%= render "layouts/user_config" %>
|
||||
<% end %>
|
||||
<div id="audiocontent" data-podcast="">
|
||||
<%= yield(:audio) %>
|
||||
</div>
|
||||
<% cache("application-top-bar--#{user_signed_in?}", expires_in: 100.hours) do %>
|
||||
<%= render "layouts/top_bar" %>
|
||||
<% end %>
|
||||
<div id="message-notice"></div>
|
||||
<div class="app-shell-loader">
|
||||
loading...
|
||||
</div>
|
||||
<div id="message-notice"></div>
|
||||
<div class="app-shell-loader">
|
||||
loading...
|
||||
</div>
|
||||
<% end %>
|
||||
<!-- End Top Shell -->
|
||||
<% end %>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue