mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-07 16:06:53 +00:00
Update api.rst
This commit is contained in:
committed by
Fabien Potencier
parent
76e8f1312e
commit
abe625a1a1
+1
-4
@@ -153,10 +153,7 @@ Compilation Cache
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
All template loaders can cache the compiled templates on the filesystem for
|
||||
future reuse. It speeds up Twig a lot as templates are only compiled once; and
|
||||
the performance boost is even larger if you use a PHP accelerator such as
|
||||
OPCache. See the ``cache`` and ``auto_reload`` options of ``\Twig\Environment``
|
||||
above for more information.
|
||||
future reuse. It speeds up Twig a lot as templates are only compiled once.
|
||||
|
||||
Built-in Loaders
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user