Yeah that's it.
Docs;
The add method will only add the item to the cache if it does not already exist in the cache store
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
It looks like Cache:add is identical to Cache::put, except Cache add will not do anything if the item is already cached.
Is this correct?
Please or to participate in this conversation.