سؤال

Does memcached entries with expiry time set to 0 not expire - as mentioned in the PHP Memcached docs, but not mentioned in the memcached protocol spec?

I am using spymemcached client and the docs for spymemcached does not say anything about it either.

هل كانت مفيدة؟

المحلول

Setting expiration to 0 means the item has no expiration. Therefore it will never expire.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top