Answer the question
In order to leave comments, you need to log in
How to do grouping of Redis cache keys in Yii 1.1?
There is a task to clear the cache when updating the data, but not all but certain groups of
classes
redis->delete(redis->keys('mymask*'))
redis-cli KEYS "prefix:*" | xargs redis-cli DEL
$ redis-cli --raw keys "$PATTERN" | xargs redis-cli del
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question