Jie Gao wrote:
> There are cases in which it is desirable to expire an entry which
> hasn't been used for a certain period of time; authenticated sessions
> data, for example.

Okay, so you're looking for a session module rather than a cache. 
Apache::Session doesn't handle expiration, but you could add it, as many 
here have.  You could also just use one of the general-purpose storage 
modules like MLDBM::Sync, BerkeleyDB, or the storage modules in 
Cache::Cache (like Cache::FileBackend) and then add expiration.  Those 
are all generic storage modules with no cache-specific stuff in their APIs.

- Perrin


Reply via email to