summaryrefslogtreecommitdiffstats
path: root/templates/packages
diff options
context:
space:
mode:
Diffstat (limited to 'templates/packages')
-rw-r--r--templates/packages/details.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index 785bf62..0bc9f40 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -1,4 +1,6 @@
{% extends "base.html" %}
+{% load cache %}
+
{% block title %}Arch Linux - {{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }} - Package Details{% endblock %}
{% block navbarclass %}anb-packages{% endblock %}
@@ -63,6 +65,7 @@
</div><!-- #actionlist -->
+ {% cache 300 package-details-pkginfo pkg.id %}
<table id="pkginfo">
<tr>
<th>Architecture:</th>
@@ -204,6 +207,8 @@
</div><!-- #pkgfiles -->
</div><!-- #metadata -->
+ {% endcache %}
+
</div><!-- #pkgdetails -->
{% load cdn %}{% jquery %}