ideas
ideas copied to clipboard
cache flush need delete the tagkey
Cache::tags(['tag1'])->putMany(['a' => 1, 'b' => 2], 10);
when i use flush() to clean the tag1
Cache::tags(['tag1'])->flush();
There will still be tagkey , like "prefix:tag:tag1:key" , It's useless, why keep the kv record ?
Would love the option to remove the Cache::tags
as well. When I flush a key connected to a tag, why not remove the tag as well. I initially thought I did not flush properly, but it seems to be something that is what it is currently. Keys and values attached to tag are removed but the tag with the key referring to those keys remains. The tag in question should be removed as well.