Use the jekyll-include-cache plugin to shave off some page building time (#2290)

This commit is contained in:
Misty Stanley-Jones 2017-03-13 17:25:03 -07:00 committed by John Mulhausen
parent f9d7107499
commit a02d80530b
5 changed files with 5 additions and 3 deletions

View File

@ -4,3 +4,4 @@ source "https://rubygems.org"
# Please ensure, before upgrading, that this version exists as a tag in starefossen/github-pages here:
# https://hub.docker.com/r/starefossen/github-pages/tags/
gem "github-pages", "112"
gem "jekyll-include-cache"

View File

@ -17,6 +17,7 @@ gems:
- jekyll-redirect-from
- jekyll-seo-tag
- jekyll-relative-links
- jekyll-include-cache
webrick:
headers:

View File

@ -89,7 +89,7 @@
</ul>
</div>
<div class="ctrl-right">
{% include archive-list.html %}
{% include_cached archive-list.html %}
</div>
</div>
</nav>

View File

@ -33,7 +33,7 @@
</div>
<div class="ctrl-right">
<a href="javascript:void(0)" id="menu-toggle"><i class="fa fa-indent" aria-hidden="true"></i></a>
{% include archive-list.html %}
{% include_cached archive-list.html %}
</div>
</div>
</div>

View File

@ -181,7 +181,7 @@ else %}{% assign edit_url = "" %}{% endif %} {% break %} {% endif %} {% endfor %
</div>
<footer class="footer">
{% include footer.html %}
{% include_cached footer.html %}
</footer>
<link rel="stylesheet" href="/css/github.css">
<script src="/js/highlight.pack.js"></script>