bug in Smarty cache ?
| From: | Dominique Peretti | Date: | Mon, 28 Jan 2002 22:04:01 +0000 |
| Subject: | bug in Smarty cache ? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2584@lists.php.net to get a copy of this message | ||
I'm struggling with Smarty 1.5.2 because I just realized that the cache no
longer works for me.
Found this in the source, and don't get it because to me cache_lifetime == 0
meant that it would never expire.
function _read_cache_file($tpl_file, $cache_id, $compile_id, &$results)
{
if ($this->force_compile || $this->cache_lifetime == 0) {
// force compile enabled or cache lifetime is zero, always regenerate
return false;
}