I wonder when @cached_property and django.core.cache(e.g. memcached, redis ...) of Django are used differently.
I think the roles of the two are similar. I have difficulty deciding which one to use.
-
How do I decide which one to use ?
-
When considering multiple processes, can '@cached_property' be shared between processes?
Aucun commentaire:
Enregistrer un commentaire