cache_mem
, removing an item could result in the spurious message "nothing to compact" being printed out. (#48)cache_mem
, $reset()
did not fully reset the cache, and calling calling $prune()
could result in an error. (#39)cache_disk()
gains a read_fn
, write_fn
and extension
arguments, to allow specifying custom formats for serializing object to disk. (@jimhester)Fixed #14: Fix off-by-one error when checking pruning throttling counter for cache_disk
. (#15)
Closed #13: Added documentation for the remove()
method.
cache_mem()
and cache_disk()
now allow -
and _
(hyphen and underscore) characters in the keys. (#9)
cache_disk()
previously did not correctly throttle pruning. (#11)
cache_mem()
. (#7)C_validate_key
.