diff options
author | Dan McGee <dan@archlinux.org> | 2010-05-04 17:53:40 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-05-04 17:53:40 +0200 |
commit | 4b7335f7137c587e775013d49bccc28bc32387c8 (patch) | |
tree | 6af5a46efe4eb3618afcc5cac72906e46d614a3d /public | |
parent | c546630ad8609bf30b6ac24326bc7f04aac8d99c (diff) | |
download | archweb-4b7335f7137c587e775013d49bccc28bc32387c8.tar.gz archweb-4b7335f7137c587e775013d49bccc28bc32387c8.tar.xz |
Add a hacked version of Django UpdateCacheMiddleware
This is to address a rather large issue with caching of feed objects in
Django. Because they are built up using an XML library that does multiple
writes on a file-like object, a single feed object, even when pulled from
memcached, generates 1582 writes to the open socket rather than the optimal
one it could do.
Some version of this fix will be making it upstream, but I need to figure
out how to approach that before I do so and for now this will address one of
our larger performance issues on the live site since the packages feed is
hit as often as it is.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'public')
0 files changed, 0 insertions, 0 deletions