[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 %>
|
<% end %>
|
||||||
</head>
|
</head>
|
||||||
<% unless internal_navigation? %>
|
<% unless internal_navigation? %>
|
||||||
<body data-user-status="<%= user_logged_in_status %>" data-pusher-key="<%= ApplicationConfig["PUSHER_KEY"] %>">
|
<% cache(cache_key_heroku_slug("top-html-and-config--#{user_signed_in?}")) do %>
|
||||||
<div id="body-styles"></div>
|
<body data-user-status="<%= user_logged_in_status %>" data-pusher-key="<%= ApplicationConfig["PUSHER_KEY"] %>">
|
||||||
<% if user_signed_in? %>
|
<div id="body-styles"></div>
|
||||||
<%= render "layouts/user_config" %>
|
<% if user_signed_in? %>
|
||||||
<% end %>
|
<%= render "layouts/user_config" %>
|
||||||
|
<% end %>
|
||||||
<div id="audiocontent" data-podcast="">
|
<div id="audiocontent" data-podcast="">
|
||||||
<%= yield(:audio) %>
|
<%= yield(:audio) %>
|
||||||
</div>
|
</div>
|
||||||
<% cache("application-top-bar--#{user_signed_in?}", expires_in: 100.hours) do %>
|
|
||||||
<%= render "layouts/top_bar" %>
|
<%= render "layouts/top_bar" %>
|
||||||
<% end %>
|
<div id="message-notice"></div>
|
||||||
<div id="message-notice"></div>
|
<div class="app-shell-loader">
|
||||||
<div class="app-shell-loader">
|
loading...
|
||||||
loading...
|
</div>
|
||||||
</div>
|
<% end %>
|
||||||
<!-- End Top Shell -->
|
<!-- End Top Shell -->
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue