mirror of https://github.com/docker/docs.git
Use the jekyll-include-cache plugin to shave off some page building time (#2290)
This commit is contained in:
parent
f9d7107499
commit
a02d80530b
1
Gemfile
1
Gemfile
|
@ -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"
|
||||
|
|
|
@ -17,6 +17,7 @@ gems:
|
|||
- jekyll-redirect-from
|
||||
- jekyll-seo-tag
|
||||
- jekyll-relative-links
|
||||
- jekyll-include-cache
|
||||
|
||||
webrick:
|
||||
headers:
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
</ul>
|
||||
</div>
|
||||
<div class="ctrl-right">
|
||||
{% include archive-list.html %}
|
||||
{% include_cached archive-list.html %}
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue