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
I'm capturing cache events, and everything's fine, but I notice no events are captured when flushing/clearing the cache. Is this intentional? It would be great to have that event available from Laravel.
$cache->tags(['tag_key'])->remember( // event dispatched$cache->tags(['tag_key'])->forget( // event dispatched$cache->tags(['tag_key'])->flush(); // no event dispatched but it works
The text was updated successfully, but these errors were encountered:
cesarreyes3
changed the title
Mising flush cache event
Missing flush cache event
Mar 20, 2025
Laravel Version
12
PHP Version
8.3
Database Driver & Version
MariaDB
Description
I'm capturing cache events, and everything's fine, but I notice no events are captured when flushing/clearing the cache. Is this intentional? It would be great to have that event available from Laravel.
12.x/src/Illuminate/Cache/Events
framework/src/Illuminate/Cache/Repository.php
Lines 577 to 580 in 6728659
framework/src/Illuminate/Cache/MemcachedStore.php
Lines 221 to 224 in 6728659
Steps To Reproduce
The text was updated successfully, but these errors were encountered: