mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 11:24:27 +02:00
tweaks
This commit is contained in:
@@ -7,15 +7,17 @@
|
|||||||
current template has changed (different time stamp) since the last time
|
current template has changed (different time stamp) since the last time
|
||||||
it was compiled. If it has changed, it recompiles that template. If the
|
it was compiled. If it has changed, it recompiles that template. If the
|
||||||
template has not been compiled, it will compile regardless of this
|
template has not been compiled, it will compile regardless of this
|
||||||
setting. By default this variable is set to true. Once an application is
|
setting. By default this variable is set to true.
|
||||||
|
</para>
|
||||||
|
<para>Once an application is
|
||||||
put into production (templates won't be changing), the compile_check
|
put into production (templates won't be changing), the compile_check
|
||||||
step is no longer needed. Be sure to set $compile_check to "false" for
|
step is no longer needed. Be sure to set $compile_check to "false" for
|
||||||
maximal performance. Note that if you change this to "false" and a
|
maximal performance. Note that if you change this to "false" and a
|
||||||
template file is changed, you will *not* see the change since the
|
template file is changed, you will *not* see the change since the
|
||||||
template will not get recompiled. If
|
template will not get recompiled. If
|
||||||
<link linkend="variable.caching">caching</link>
|
<link linkend="variable.caching">$caching</link>
|
||||||
is enabled and
|
is enabled and
|
||||||
compile_check is enabled, then the cache files will get regenerated if
|
$compile_check is enabled, then the cache files will get regenerated if
|
||||||
an involved template file or config file was updated. See <link
|
an involved template file or config file was updated. See <link
|
||||||
linkend="variable.force.compile">$force_compile</link> or <link
|
linkend="variable.force.compile">$force_compile</link> or <link
|
||||||
linkend="api.clear.compiled.tpl">clear_compiled_tpl()</link>.
|
linkend="api.clear.compiled.tpl">clear_compiled_tpl()</link>.
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
this is disabled. This is handy for development and
|
this is disabled. This is handy for development and
|
||||||
<link linkend="chapter.debugging.console">debugging</link>.
|
<link linkend="chapter.debugging.console">debugging</link>.
|
||||||
It should never be used in a production environment. If
|
It should never be used in a production environment. If
|
||||||
<link linkend="variable.caching">caching</link>
|
<link linkend="variable.caching">$caching</link>
|
||||||
is enabled, the cache file(s) will be regenerated every time.
|
is enabled, the cache file(s) will be regenerated every time.
|
||||||
</para>
|
</para>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
Reference in New Issue
Block a user