Permalink
Browse files

Fragment cache

  • Loading branch information...
tommy351 committed Jun 9, 2014
1 parent 6253090 commit d2aedda61571d6994eb72d784ceda2f59d2a8631
Showing with 4 additions and 4 deletions.
  1. +4 −4 layout/layout.ejs
View
@@ -2,16 +2,16 @@
<body>
<div id="container">
<div id="wrap">
<%- partial('_partial/header') %>
<%- partial('_partial/header', null, {cache: true}) %>
<div class="outer">
<section id="main"><%- body %></section>
<% if (theme.sidebar && theme.sidebar !== 'bottom'){ %>
<%- partial('_partial/sidebar') %>
<%- partial('_partial/sidebar', null, {cache: true}) %>
<% } %>
</div>
<%- partial('_partial/footer') %>
<%- partial('_partial/footer', null, {cache: true}) %>
</div>
<%- partial('_partial/mobile-nav') %>
<%- partial('_partial/mobile-nav', null, {cache: true}) %>
<%- partial('_partial/after-footer') %>
</div>
</body>

0 comments on commit d2aedda

Please sign in to comment.