force compile and caching
| From: | Kathleen Krause-Thompson | Date: | Fri, 05 Oct 2007 14:47:27 +0000 |
| Subject: | force compile and caching | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-13768@lists.php.net to get a copy of this message | ||
I am little confused about the optimum settings for force_compile and caching in a production
environment as described in this paragraph:
From the manual->[force_compile] forces Smarty to (re)compile templates on every invocation. This
setting overrides $compile_check. By default this is FALSE. This is handy for development and
debugging. It should never be used in a production environment. If $caching is enabled, the cache
file(s) will be regenerated every time.
Does this mean that in a production environment caching should be enabled and force_compile should
be set to FALSE? Thank you for any insights.