Im using new setting to increase item size in memcached, but i cant store something larger than 1mb through Django backend.
I know that memcache
module require some setting to achieve thath, and Django use this module in backend.
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Django __str__ returned non-string (type NoneType)
- Evil ctypes hack in python
From Maximum size of object that can be saved in memcached with memcache.py:
If you do really want to cache larger objects, you will have to subclass Django's MemcachedCache as it doesn't allow you to pass in options:
Example subclass implementation: