python - Django store instances in cache -


is bad store django instances or querysets directly in cache ? example want store 10 "articles" (supposing won't change in next days) users can navigate between them without hitting database (like 1 angular). there maximum size capacity cache ?

it shouldn't bad store django instances/querysets directly in cache. django provides serialization utility allow convert instances/querysets format deasieralize data django objects.

memcache supports having cluster of nodes appear if single instance.

http://memcached.org/about

this should let add more servers if need expand capacity of cache


Comments