[Answer]-How to use memcache with Django when updating and retrieving model instances with children?

1👍

✅

A relatively simple way is to attach a function to the post_save signal of the model, and invalidate the cache if the model instance is updated.

Leave a comment