php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #58944 read-through cache callbacks expiry
Submitted: 2009-11-11 04:39 UTC Modified: -
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: anzenews at volja dot net Assigned:
Status: Open Package: memcached (PECL)
PHP Version: 5.2.6 OS: Debian linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2009-11-11 04:39 UTC] anzenews at volja dot net
Description:
------------
See first comment on:
http://www.php.net/manual/en/memcached.callbacks.read-through.php

"The expiry on read-through cache set values is set to 0, or forever.  This means if you want your key to implicitly expire, don't use the callback methods, instead check for boolean false as a return and manually set the value, at least for now."

I think this functionality is a must-have (if memcache protocol allows for it). If not then documentation should be updated to reflect it. 


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 20:01:26 2019 UTC