Cache little mistake
| From: | Dominique Peretti | Date: | Sat, 02 Mar 2002 02:57:26 +0000 |
| Subject: | Cache little mistake | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-2912@lists.php.net to get a copy of this message | ||
I have posted this before, but the problem is still present in Smarty 2.0
This is from Smarty.class.php :
var $cache_lifetime = 3600; // number of seconds cached content persists
// 0 = never expires. default is one hour
But, if you set it to 0, it actually always regenerates the cache. It used
to work the right way some time ago.
But anyway, Smarty 2.0 works great for me. I had several plugins, include
template resources to adapt, but it worked effortlessly.
Thanks Monte and Andreï !!
Dom.
,-~~-.___.
/ | ' \ Some people try to achieve immortality through
( ) 0 their work, others through their children.
\_/-, ,----' I hope to achieve immortality by not dying.
==== //
/ \-'~; /~~~(O) -- Woody Allen
/ __/~| / |
=( ______| (_________|