diff options
author | Dan McGee <dan@archlinux.org> | 2010-09-15 00:42:12 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-09-15 00:42:12 +0200 |
commit | 5dc5688d971824f7ccc38c0d5f85f60743424c39 (patch) | |
tree | 2f1b83bc8f51eb007b4ebba477d75bc5d8b9d039 /templates | |
parent | 6c54cdb9ca72c8745d76fe2d3db11197c9eb104d (diff) | |
download | archweb-5dc5688d971824f7ccc38c0d5f85f60743424c39.tar.gz archweb-5dc5688d971824f7ccc38c0d5f85f60743424c39.tar.xz |
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 'templates')
0 files changed, 0 insertions, 0 deletions