Closed MathiasReker closed 2 years ago
Hello curious contributor ! Since it seems to be your first contribution, make sure that you've been:
Also if you want a simplified way to deal with cache you can use our PSR-16 adapter .
This should do it, but it deletes every item in the cache: $this->cache->deleteItem($key);
🤔
I don't know what to say, maybe a wrong implementation from your project... Phpfastcache is heavily tested and such a big bug would immediately thrown the CI down :/
You are right, something is wrong with my implementation. I just can't figure out what is wrong. I will do some more research. Thanks,
Configuration (optional)
\Phpfastcache\Api::GetVersion()
)..."My question
I have one issue: I cannot delete a specific cache item. Can you help me understand what I am doing wrong?
I have something like this for saving the item - this is working great, and I can receive the cache. Also, I can clear all caches.
However, I can't figure out how to delete a specific item. I tried something like this:
Doing this will clear the whole cache.
What am I missing? 🤔