Update api.rst

This commit is contained in:
Yohann Durand
2020-04-14 19:29:06 +02:00
committed by Fabien Potencier
parent 76e8f1312e
commit abe625a1a1
+1 -4
View File
@@ -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
~~~~~~~~~~~~~~~~