Can't set expiration time in wp object cache

lodoss

Member
I tried your object-cache.php, and tried using wp_cache_set. However, the expiration time setting doesn't work - the expiration always defaults to the 900 set on line 74.
What could I change to get that to work? I don't want to change the default, because I need each cache object set by wp_cache_set to have it's own personal timer.

Thanks
 
Hi lodoss, welcome to NST.

Quick question: which object-cache.php are you referring to? We have 3 different ones right now: XCache, eAccelerator, and File-Based Caching.
 
Back
Top