-
-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalidate cache by tag does not works #156
Comments
I guess this is because dependencies are evaluated only when you call |
Have same problem still. I think that's because of extension just marked records as deleted. Redis worker flush them postponed. P.S. |
In my case the reason for invalidate to not work was that the tags weren't saved at all because in the config i had |
@nnrudakov was that the case for you? |
Nope. 'cache' => [
'class' => yii\redis\Cache::class,
'redis' => 'redisConn',
'keyPrefix' => 'my_pref'
], In this case
So, I have the default PHP serializer. What I'm doing wrong? |
any update on this issue? it doesn't work for me either. |
No. Want to work on it? |
This is the solution. |
I'm running into the same problem. Is there any workaround for that?
But this seams not to work, even 5 years after this issue was opened. In the last 5 years only a few people have contributed to this issue. Either this feature is rarely used or many don't notice the bug. Finally, this issue is equivalent to an application that generates inconsistent data due to a bug. //Edit: By the way: I'm using memcached as caching-engine and run into the same problem. |
What steps will reproduce the problem?
Here a console command action:
What's expected?
I expected that
$key1
and$key2
would not exists in cache after deleting by tag.What do you get instead?
Additional info
The text was updated successfully, but these errors were encountered: