cielu's avatar
Level 1

I got a proble when I use Cache::tages('tag_name') in redis , the keys would never be deleted

those are my codes :

Cache::tags('order_no')->increment($shopInfo->shop_mark);

Cache::tags('order_no')->get($shopInfo->shop_mark)

\Cache::tags('order_no')->flush();

however , the key like laravel:7f219fa64aa3699d509952c8a3983f536cc28cc3:XX would never be deleted , and TTL is -1 ,

so that those cache will persist in redis 。。

Is any body got this problem ?

0 likes
0 replies

Please or to participate in this conversation.