diff options
author | Dan McGee <dan@archlinux.org> | 2012-01-05 20:03:00 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-01-05 20:03:00 +0100 |
commit | 6b16b9487a95118a6109a2c5119d430dc1192e80 (patch) | |
tree | a6ad637efb2cfd04bde7f241f91c693311432fb9 /todolists | |
parent | 7b7dcfaa7c1b10d4f595a68e4136f30162930011 (diff) | |
download | archweb-6b16b9487a95118a6109a2c5119d430dc1192e80.tar.gz archweb-6b16b9487a95118a6109a2c5119d430dc1192e80.tar.xz |
Adjust page and content caching lengths and decorators
Remove never_cache from many places now that we don't actually need it
since we aren't caching by default. Adjust our cache_function decorator
times be shorter values, and also randomize them a bit to make cache
invalidations not all line up.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'todolists')
-rw-r--r-- | todolists/views.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/todolists/views.py b/todolists/views.py index d413ca4..e5cc082 100644 --- a/todolists/views.py +++ b/todolists/views.py @@ -47,7 +47,6 @@ def flag(request, list_id, pkg_id): return redirect(todolist) @login_required -@never_cache def view(request, list_id): todolist = get_object_or_404(Todolist, id=list_id) svn_roots = Repo.objects.order_by().values_list( @@ -71,7 +70,6 @@ def list_pkgbases(request, list_id, svn_root): mimetype='text/plain') @login_required -@never_cache def todolist_list(request): lists = get_annotated_todolists() return direct_to_template(request, 'todolists/list.html', {'lists': lists}) |