diff gpp/templates/home.html @ 54:e249b5f9d180

#3, #4: clear caches when saving profile, bulletins, and news. Broke up the stuff on the home page for finer control of caching.
author Brian Neal <bgneal@gmail.com>
date Tue, 23 Jun 2009 00:11:00 +0000
parents 2763977301c2
children 416353def4ca
line wrap: on
line diff
--- a/gpp/templates/home.html	Sun Jun 21 22:41:58 2009 +0000
+++ b/gpp/templates/home.html	Tue Jun 23 00:11:00 2009 +0000
@@ -36,9 +36,13 @@
 permanent. The site (content, user accounts, etc.) may be wiped at any time while we fix bugs and add features. 
 Also, I hope that the look and feel of this site can be greatly improved to something really cool! I'll need
 lots of help for this aspect, as I'm more of a coder than a designer.</p>
-{% cache 600 home_content %}
-{% current_bulletins %}
-{% current_news %}
+{% cache 3600 home_bulletins %}
+   {% current_bulletins %}
+{% endcache %}
+{% cache 3600 home_news %}
+   {% current_news %}
+{% endcache %}
+{% cache 3600 home_new_stuff %}
 <div class="span-9 append-1">
    {% latest_weblinks %} 
 </div>