Mercurial > public > sg101
changeset 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 | 1688873085e0 |
files | gpp/templates/base.html |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
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>