evorepo/public
Dan McGee 0b0e2b9d2a Fix some caching issues on the front page
The return value from get_recent_updates() was too big for memcached due
to all the attached objects, so the cache never actually worked. This
sucks, because we ended up doing all the work in this function and most
of the time we didn't use it because template fragment caching kicked
in.

Remove the cache_function decorator from this method, and instead
implement delayed calling of the function so we don't compute values we
aren't going to use. Template fragment caching will help us in most
cases.

Signed-off-by: Dan McGee <dan@archlinux.org>
2013-12-14 15:06:26 -06:00
..
static/logos Run pngcrush and optipng over most static content 2013-02-03 13:38:39 -06:00
__init__.py "imported" public app files from archweb_pub 2009-11-09 22:24:37 -02:00
models.py Add basic tests to public app 2009-12-01 23:26:04 -02:00
tests.py Remove Arch-Based Projects 2010-04-18 23:27:27 -05:00
utils.py Fix some caching issues on the front page 2013-12-14 15:06:26 -06:00
views.py Fix some caching issues on the front page 2013-12-14 15:06:26 -06:00