summaryrefslogtreecommitdiffstats
path: root/templates/public/userlist.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-07-10 16:24:11 -0500
committerDan McGee <dan@archlinux.org>2010-07-10 16:24:11 -0500
commite1be5f1619d0f66897f56c7fa0bdb62f3cd5c2df (patch)
tree3091565e80bcea7cee452693481a66c96db9aa77 /templates/public/userlist.html
parent6b4c8e63b3a13bae23330aef33f69352fa02dff6 (diff)
downloadarchweb-e1be5f1619d0f66897f56c7fa0bdb62f3cd5c2df.tar.gz
archweb-e1be5f1619d0f66897f56c7fa0bdb62f3cd5c2df.zip
Add some more template fragment caching
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/public/userlist.html')
-rw-r--r--templates/public/userlist.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/public/userlist.html b/templates/public/userlist.html
index 658e64e6..c51215c3 100644
--- a/templates/public/userlist.html
+++ b/templates/public/userlist.html
@@ -1,7 +1,10 @@
{% extends "base.html" %}
+{% load cache %}
+
{% block title %}Arch Linux - {{ user_type }}{% endblock %}
{% block content %}
+{% cache 600 dev-tu-profiles user_type %}
<div id="dev-tu-profiles" class="box">
<h2>Arch Linux {{user_type}}</h2>
@@ -13,4 +16,5 @@
{% endwith %}
</div>
+{% endcache %}
{% endblock %}