mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-04 16:20:55 +02:00
41 lines
1.6 KiB
XML
41 lines
1.6 KiB
XML
![]() |
<?xml version="1.0" encoding="iso-8859-1"?>
|
||
|
<!-- $Revision$ -->
|
||
|
<sect1 id="variable.compile.check">
|
||
|
<title>$compile_check</title>
|
||
|
<para>
|
||
|
Upon each invocation of the PHP application, Smarty tests to see if the
|
||
|
current template has changed (different time stamp) since the last time
|
||
|
it was compiled. If it has changed, it recompiles that template. If the
|
||
|
template has not been compiled, it will compile regardless of this
|
||
|
setting. By default this variable is set to true. Once an application is
|
||
|
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
|
||
|
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 will not get recompiled. If caching is enabled and
|
||
|
compile_check is enabled, then the cache files will get regenerated if
|
||
|
an involved template file or config file was updated. See <link
|
||
|
linkend="variable.force.compile">$force_compile</link> or <link
|
||
|
linkend="api.clear.compiled.tpl">clear_compiled_tpl</link>.
|
||
|
</para>
|
||
|
</sect1>
|
||
|
<!-- Keep this comment at the end of the file
|
||
|
Local variables:
|
||
|
mode: sgml
|
||
|
sgml-omittag:t
|
||
|
sgml-shorttag:t
|
||
|
sgml-minimize-attributes:nil
|
||
|
sgml-always-quote-attributes:t
|
||
|
sgml-indent-step:1
|
||
|
sgml-indent-data:t
|
||
|
indent-tabs-mode:nil
|
||
|
sgml-parent-document:nil
|
||
|
sgml-default-dtd-file:"../../../../manual.ced"
|
||
|
sgml-exposed-tags:nil
|
||
|
sgml-local-catalogs:nil
|
||
|
sgml-local-ecat-files:nil
|
||
|
End:
|
||
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||
|
vim: et tw=78 syn=sgml
|
||
|
vi: ts=1 sw=1
|
||
|
-->
|