summaryrefslogtreecommitdiff
path: root/settings.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-09-14 17:42:12 -0500
committerDan McGee <dan@archlinux.org>2010-09-14 17:42:12 -0500
commit5dc5688d971824f7ccc38c0d5f85f60743424c39 (patch)
tree2f1b83bc8f51eb007b4ebba477d75bc5d8b9d039 /settings.py
parent6c54cdb9ca72c8745d76fe2d3db11197c9eb104d (diff)
Improve request handling for feeds that haven't changed
By using the condition decorator (in a slightly odd way because these are class-based views), we can cut down a lot on the response time for returning 304 status code for feeds that haven't changed. The decorator means we no longer have to completely render the view to see if we can return a 304 status code. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'settings.py')
0 files changed, 0 insertions, 0 deletions