You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First contains: "a:2:{s:12:\"cache.media.\";i:0;s:13:\"cache.media.0\";i:0;}"
Second contains cache data;
Then i call cache clearing by tags: (new TagAwareAdapter($this->get('cache.app')))->invalidateTags([PostTypeDictionary::CACHE_MEDIA_PREFIX]);
Redis store one more key "zG3lSHyaSM:cache.media.\x00tags\x00", which contains: "i:1;"
And that's all, old cache available.
Another cache adapters have the same problem.
What i'm doing wrong?
The text was updated successfully, but these errors were encountered:
Nothing, that's how things work: invalidated items are not removed from the storage. But when you fetch them, they're still "not found", which is the expected side effect of invalidation.
Symfony version: 3.4.9
Reproducing:
In redis i see two keys:
First contains:
"a:2:{s:12:\"cache.media.\";i:0;s:13:\"cache.media.0\";i:0;}"
Second contains cache data;
Then i call cache clearing by tags:
(new TagAwareAdapter($this->get('cache.app')))->invalidateTags([PostTypeDictionary::CACHE_MEDIA_PREFIX]);
Redis store one more key "zG3lSHyaSM:cache.media.\x00tags\x00", which contains:
"i:1;"
And that's all, old cache available.
Another cache adapters have the same problem.
What i'm doing wrong?
The text was updated successfully, but these errors were encountered: