Lines Matching full:cache
29 'cache' => '/path/to/compilation_cache',
40 The ``cache`` option is a compilation cache directory, where Twig caches
42 requests. It is very different from the cache you might want to add for
44 cache library.
106 * ``cache`` *string* or ``false``
155 Compilation Cache
158 All template loaders can cache the compiled templates on the filesystem for
161 See the ``cache`` and ``auto_reload`` options of ``\Twig\Environment`` above
213 paths is preferred as it makes the cache keys independent of the project root
214 directory (for instance, it allows warming the cache from a build server where
242 When using the ``Array`` or ``String`` loaders with a cache mechanism, you
243 should know that a new cache key is generated each time a template content
244 "changes" (the cache key being the source code of the template). If you
245 don't want to see your cache grows out of control, you need to take care
246 of clearing the old cache file by yourself.
296 * Gets the cache key to use for the cache for a given template name.
300 * @return string The cache key