2008/9/5 Lepidosteus <[EMAIL PROTECTED]>:
> I think you didn't get my question, maybe I didn't explain that well:
>
> When I use the core/file cache I give a lifetime to my cache records
> (it's in the zend_cache api), then it cleans it automagically when
> used if the lifetime is expired.

Look at a cache dir now I see files littered with
zend_cache---internal-metadatas-*
Within each file something like the following exists;

a:4:{s:4:"hash";i:-742868140;s:5:"mtime";i:1220572392;s:6:"expire";i:1220572692;s:4:"tags";a:0:{}}

You can get the meta data and thus the expiry time.

Reply via email to