Friday 20 August 2004 10:42:53 am
Perhaps it is because it is the end of a long day, but I am getting frustrated with this whole cache_ttl thing. Basically I am playing about with having some dynamic code, but I do not want to turn off view caching. Now if I put the following in my template:
{set-block scope=root variable=cache_ttl}0{/set-block}
and if I have a custom tag output the date and time and refresh the time changes as I would expect. However if I enter any value greater than 0 it is ignored! The default cache time appears to kick in. Now am I being silly here and missing something really basic? Is there a minimum value for cache_ttl? I am using version 3.4.1, SVN revision 7051. I am also running Apache 1.3.31, PHP 4.3.8 and ZendOptimizer. Thank you for any help you can give me.
|