Run

for ($i = 0; $i < 3; $i++) {
    Cache::tags('test')->put('test_' . Str::random(), time(), 60);
}

first see Redis db enter image description here

after 60s ttl enter image description here

standard_ref Members not removed

Do I have to call Cache::tags::flush to flush out expired data in standard_ref?

I don't think it's good

Cache::tags('test')->flush();

enter image description here

0

There are 0 best solutions below