diff gpp/templates/base.html @ 368:b76af55aafe4

For #176; cache the output of the latest poll block template tag.
author Brian Neal <bgneal@gmail.com>
date Sat, 05 Mar 2011 21:00:00 +0000
parents cb121a3abf46
children 9175392da056
line wrap: on
line diff
--- a/gpp/templates/base.html	Sat Mar 05 20:54:26 2011 +0000
+++ b/gpp/templates/base.html	Sat Mar 05 21:00:00 2011 +0000
@@ -81,7 +81,9 @@
    {% cache 60 irc_block %}
       {% irc_status %}
    {% endcache %}
-   {% latest_poll_block %}
+   {% cache 3600 poll_block %}
+      {% latest_poll_block %}
+   {% endcache %}
    {% include 'core/mp3comp_block.html' %}
 </div>