aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/smarty/smarty/docs/programmers/api-variables/variable-force-compile.md
blob: 73f1e792d4e1c1e4ab25ad011002926d0995bb0e (plain) (blame)
1
2
3
4
5
6
7
8
9
\$force\_compile {#variable.force.compile}
================

This forces Smarty to (re)compile templates on every invocation. This
setting overrides [`$compile_check`](#variable.compile.check). By
default this is FALSE. This is handy for development and
[debugging](#chapter.debugging.console). It should never be used in a
production environment. If [`$caching`](#variable.caching) is enabled,
the cache file(s) will be regenerated every time.