mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
update docs regarding cache_lifetime
This commit is contained in:
@@ -221,8 +221,10 @@
|
|||||||
valid. Once this time has expired, the cache will be
|
valid. Once this time has expired, the cache will be
|
||||||
regenerated. $caching must be set to "true" for this setting to
|
regenerated. $caching must be set to "true" for this setting to
|
||||||
work. You can also force the cache to expire with <link
|
work. You can also force the cache to expire with <link
|
||||||
linkend="api.clear.all.cache">clear_all_cache</link>. (added to
|
linkend="api.clear.all.cache">clear_all_cache</link>. A setting
|
||||||
Smarty 1.3.0)
|
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>
|
</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
<sect2 id="variable.cache.handler.func">
|
<sect2 id="variable.cache.handler.func">
|
||||||
|
Reference in New Issue
Block a user