cvs: smarty /docs programmers.sgml
| From: | Monte Ohrt | Date: | Fri, 12 Apr 2002 14:46:30 +0000 |
| Subject: | cvs: smarty /docs programmers.sgml | ||
| Groups: | php.smarty.cvs | ||
| Request: | Send a blank email to php-smarty-cvs+get-46@lists.php.net to get a copy of this message | ||
mohrt Fri Apr 12 10:46:30 2002 EDT
Modified files:
/smarty/docs programmers.sgml
Log:
update docs regarding cache_lifetime
Index: smarty/docs/programmers.sgml
diff -u smarty/docs/programmers.sgml:1.6 smarty/docs/programmers.sgml:1.7
--- smarty/docs/programmers.sgml:1.6 Fri Mar 1 15:50:49 2002
+++ smarty/docs/programmers.sgml Fri Apr 12 10:46:29 2002
@@ -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 <link
- linkend="api.clear.all.cache">clear_all_cache</link>. (added to
- Smarty 1.3.0)
+ linkend="api.clear.all.cache">clear_all_cache</link>. 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.)
</para>
</sect2>
<sect2 id="variable.cache.handler.func">