---------- Forwarded message ----------
From: Fabien MARTY <[EMAIL PROTECTED]>
Date: 8 févr. 2007 18:37
Subject: Re: [fw-general] Zend_Cache - Caching files to files
To: Bartosz Maciaszek <[EMAIL PROTECTED]>


Hi,

Anyway, thanks for fixes, but it still doesn't work as expected.
Frontend 'File' is little bit different than others as cache validity
should be calculated basing on master file's modification time and not
on specific validity time. Now, disregarding of which frontend is used
when fourth parameter is not specified cache validity time is 3600
seconds.

So it's correct.

With File backend, a cache record is valid until :
- the lifetime expired
OR
- the master file was modified

If you don't want any lifeTime, set a frontend option like :

$frontendOptions = array(
   'lifeTime' => null
);


Regards
--
Fabien MARTY
[EMAIL PROTECTED]


--
Fabien MARTY
[EMAIL PROTECTED]

Reply via email to