When you put a value in memcached, you can set an expiration time.
However, when you increment a value you can not (at least not from PHP) set a new expiration time.
My question: Is the expiration time reset on increment to it's initial value? Or it it unchanged? Or is there another way to regenerate the expiration time?
Both the memcache documentation is vague about this, as well as the PHP documentation
I just needed know this as well. A little experiment can tell us: expiration time is NOT updated after an increment. That's it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With