diff options
author | Dan McGee <dan@archlinux.org> | 2010-05-04 10:53:40 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-05-04 10:53:40 -0500 |
commit | 4b7335f7137c587e775013d49bccc28bc32387c8 (patch) | |
tree | 6af5a46efe4eb3618afcc5cac72906e46d614a3d /devel/models.py | |
parent | c546630ad8609bf30b6ac24326bc7f04aac8d99c (diff) |
Add a hacked version of Django UpdateCacheMiddlewarerelease_2010-05-04
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 'devel/models.py')
0 files changed, 0 insertions, 0 deletions