aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/smarty/smarty/docs/programmers/api-variables/variable-cache-locking.md
blob: 6dca30c7b954688861c044db69a238eef73de419 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
\$cache\_locking {#variable.cache.locking}
================

Cache locking avoids concurrent cache generation. This means resource
intensive pages can be generated only once, even if they\'ve been
requested multiple times in the same moment.

Cache locking is disabled by default. To enable it set `$cache_locking`
to TRUE.

See also [`$locking_timeout`](#variable.locking.timeout)