From 982698643f6c2a57d147c4c8dd83b29957502694 Mon Sep 17 00:00:00 2001 From: mohrt Date: Fri, 12 Apr 2002 14:46:29 +0000 Subject: [PATCH] update docs regarding cache_lifetime --- docs/programmers.sgml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/programmers.sgml b/docs/programmers.sgml index 02baf9ee..872682ca 100644 --- a/docs/programmers.sgml +++ b/docs/programmers.sgml @@ -221,8 +221,10 @@ valid. Once this time has expired, the cache will be regenerated. $caching must be set to "true" for this setting to work. You can also force the cache to expire with clear_all_cache. (added to - Smarty 1.3.0) + linkend="api.clear.all.cache">clear_all_cache. A setting + of -1 will force the cache to never expire. A setting of 0 will cause + the cache to always regenerate (which doesn't make much sense, you'd be + better off setting caching=false.)