summaryrefslogtreecommitdiffstats
path: root/templates/public/download.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-07-10 23:24:11 +0200
committerDan McGee <dan@archlinux.org>2010-07-10 23:24:11 +0200
commite1be5f1619d0f66897f56c7fa0bdb62f3cd5c2df (patch)
tree3091565e80bcea7cee452693481a66c96db9aa77 /templates/public/download.html
parent6b4c8e63b3a13bae23330aef33f69352fa02dff6 (diff)
downloadarchweb-e1be5f1619d0f66897f56c7fa0bdb62f3cd5c2df.tar.gz
archweb-e1be5f1619d0f66897f56c7fa0bdb62f3cd5c2df.tar.xz
Add some more template fragment caching
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/public/download.html')
-rw-r--r--templates/public/download.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/public/download.html b/templates/public/download.html
index 2f1bc8b..09209c9 100644
--- a/templates/public/download.html
+++ b/templates/public/download.html
@@ -1,4 +1,6 @@
{% extends "base.html" %}
+{% load cache %}
+
{% block title %}Arch Linux - Downloads{% endblock %}
{% block navbarclass %}anb-download{% endblock %}
@@ -133,6 +135,7 @@
</ul>
{% endwith %}
+ {% cache 600 download-mirrors %}
<table id="download-mirrors">
<thead>
<tr>
@@ -157,6 +160,7 @@
</td></tr>
</tbody>
</table>
+ {% endcache %}
<p>If you want to become an Official Arch Linux Mirror please follow the
instructions listed <a href="http://wiki.archlinux.org/index.php/DeveloperWiki:NewMirrors">here</a>.</p>