[Answered ]-Python Memcached: caching objects

2👍

There is no problems with it. Of course there will be some overhead of pickling object, not raw data, but you won’t notice it.

And remember, that when you access ForeignKey, ManyToManyField and OneToOneField, you will make DB hit anyway. But you can cache these relations manually.

Leave a comment