Hi all,

Memcache backend, using python-memcache silently ignores data bigger than
1Mb.

This is more serious on using cache for pages (full body) where it's more
likely to have larger data being cached.

Also, larger pages usually are the ones that need more cache, because their
more costly to generate.

I've propose a fix that address this issue and 2 more:

1 - Compress cache data
https://code.djangoproject.com/ticket/16116

Because body page has a good compression rate this feature helps a lot on
this issue.

2 - Pickle protocol
https://code.djangoproject.com/ticket/19810#no2
Most of django backends uses higher pickle protocol, but it isn't true for
Memcache

3 - cache_db session "forgetting" big values
https://code.djangoproject.com/ticket/16358

Here is the pull request to address these issues:
https://github.com/django/django/pull/736/commits

It has changes in the docs and memcache backends, but there isn't any test,
because I couldn't figure out how to test them. :( Any advice on how to
test them?

Any feedback is welcome, I'm willing to make any necessary changes to get
it on the 1.6 train :)

[],
-- 
Luciano Pacheco
blog.lucmult.com.br

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to