We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea1c2e6 commit f59e8d8Copy full SHA for f59e8d8
components/cache/cache_invalidation.rst
@@ -48,6 +48,9 @@ you can invalidate the cached items by calling
48
// if you know the cache key, you can also delete the item directly
49
$cache->deleteItem('cache_key');
50
51
+ // If you don't remember the item key, you can use the getKey() method
52
+ $cache->deleteItem($item->getKey());
53
+
54
Using tags invalidation is very useful when tracking cache keys becomes difficult.
55
56
Tag Aware Adapters
0 commit comments