6.0.0-alpha14
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/2/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#13085] Use memcache instead of distributed hashtable in $conf[cache][driver]
*
Your Email Address
*
Spam protection
Enter the letters below:
.__..__ . ,. ,. . [__][__) \./ \./ |\/| | || \ | | | |
Comment
> The distributed hashtable driver doesn't support the lifetime > argument and as such is not a very good choice for the > $conf[cache][driver]: > > /** > * NOTE: This driver ignores the lifetime argument. > */ > public function get($key, $lifetime = 0) > { > return $this->_hash->get($this->_params['prefix'] . $key); > } > > This breaks applications that require the cache driver to tell the > information is expired. For instance, > Horde/Service/Weather/WeatherUnderground.php will only refresh the > information if it is expired. This never happens with the distributed > hashtable, because the lifetime is ignored and once the data is > retrieved, the same (stale) data will be served indefinitely. > > Before the distributed hashtable was introduced, it was possible to > directly configure memcache as a cache driver (which does support the > timeout variable). It would be great if this functionality was > restored here, since some applications seem to depend on the timeout > to be honored.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers