force compile and caching

View: New views
1 Messages — Rating Filter:   Alert me  

force compile and caching

by Kathleen Krause-Thomson :: Rate this Message:

Reply to Author | View Threaded | Show Only 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.

--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php