comparison 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
comparison
equal deleted inserted replaced
53:f882ac8ce255 54:e249b5f9d180
34 </div> 34 </div>
35 <p>Remember that this is a test site, and not everything is going to work. Nothing here is 35 <p>Remember that this is a test site, and not everything is going to work. Nothing here is
36 permanent. The site (content, user accounts, etc.) may be wiped at any time while we fix bugs and add features. 36 permanent. The site (content, user accounts, etc.) may be wiped at any time while we fix bugs and add features.
37 Also, I hope that the look and feel of this site can be greatly improved to something really cool! I'll need 37 Also, I hope that the look and feel of this site can be greatly improved to something really cool! I'll need
38 lots of help for this aspect, as I'm more of a coder than a designer.</p> 38 lots of help for this aspect, as I'm more of a coder than a designer.</p>
39 {% cache 600 home_content %} 39 {% cache 3600 home_bulletins %}
40 {% current_bulletins %} 40 {% current_bulletins %}
41 {% current_news %} 41 {% endcache %}
42 {% cache 3600 home_news %}
43 {% current_news %}
44 {% endcache %}
45 {% cache 3600 home_new_stuff %}
42 <div class="span-9 append-1"> 46 <div class="span-9 append-1">
43 {% latest_weblinks %} 47 {% latest_weblinks %}
44 </div> 48 </div>
45 <div class="span-9 last"> 49 <div class="span-9 last">
46 {% latest_downloads %} 50 {% latest_downloads %}