Answer the question
In order to leave comments, you need to log in
How do you use django-cacheops?
Good afternoon!
Now the project uses django-cacheops and there is a suspicion that in some places it only spoils everything for us.
Clogs redis and spits into it with data that is not needed there.
For example, after save.
Share recipes/configs, please!
Answer the question
In order to leave comments, you need to log in
You can flexibly configure what Cacheops will write and what will not. By models and operations. Recording on save is an additional feature, disabled by default.
If you still write too much, then you can not cache anything by default, but call .cache() on querisets that you definitely need to save.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question