Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Vladimir Ghetau
May 8, 2008, 6:38 pm
rate this thread
Have you noticed the add, set, and replace functions of the PHP
I'm trying to figure out if there's any difference between set, and
(add or replace).
After few tests, I've proven myself that the set() method is enough to
add a new variable or update it.
Is there any functionality difference between add and set that I'm
Re: any memcached fans?
Set will overwrite any data that is in cache if its already there, and
will add a new item if its not there.
Add will only add a new item to cache where the key doesn't already
Replace will only replace an item that is existing in cache, it won't
add new items.
Open Technology Group, Inc.
One Copley Parkway, Suite 210
Morrisville, NC 27560
Ask me about Expert PHP Training - delivered on-site worldwide or via
open enrollment public courses.