Closed stefanbaas closed 9 months ago
Hello curious contributor ! Since it seems to be your first contribution, make sure that you've been:
Hello
As per PSR6: https://www.php-fig.org/psr/psr-6/
* Returns a Cache Item representing the specified key. * * This method must always return a CacheItemInterface object, even in case of * a cache miss. It MUST NOT return null. *
It is by design so.
Cheers, Georges
The cache clear() function is not working correctly with Redis, getItem('{cachekey}') still returns data, after i cleared the cache with the clear() function. I'm using version 9.1.3. Even after a page refresh the data is not deleted.
When i delete the item with the following function it works correctly, but i want to delete the whole cache. It's strange because $_cache->getItems() returns an empty array, but $_cache->getItem("test") is returning data.
$_cache->deleteItem("test");