Re: [SMARTY] Bug in the caching system
| From: | Andreas Kossmeier | Date: | Thu, 11 Apr 2002 21:17:01 +0000 |
| Subject: | Re: [SMARTY] Bug in the caching system | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3650@lists.php.net to get a copy of this message | ||
loic wrote:
I'm new here... I'm using smarty 2 after a big use of smarty 1.4 I have found a little bug in the way to refresh the cache in smarty 2.reported this bug 3 days ago on [smarty-dev]. another issue mentioned there was: : #2 cache_lifetime values and documentation : : i know cache handling for cache_lifetime = 0 has changed several times : in the past currently the comment near the variable definition is: : : // number of seconds cached content will persist. : // 0 = never expires. default is one hour (3600) : : IMO the definition of a cache_lifetime *has* to be: : : 1. > 0 caching for the appropriate lifetime : 2. = 0 no caching : 3. < 0 never expire (usually cache_lifetime = -1) -- andreas kossmeier bergfex.at - http://www.bergfex.at