Skip to content

Commit 2c2f19e

Browse files
committed
Merge branch '5.0'
* 5.0: Fixed the Table of Contents of the performance article
2 parents 6dee192 + a85e16d commit 2c2f19e

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

performance.rst

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,13 @@ performance checklists.
1111
Symfony Application Checklist
1212
-----------------------------
1313

14+
These are the code and configuration changes that you can make in your Symfony
15+
application to improve its performance:
16+
1417
#. :ref:`Install APCu Polyfill if your server uses APC <performance-install-apcu-polyfill>`
1518
#. :ref:`Dump the service container into a single file <performance-service-container-single-file>`
1619
#. :ref:`Restrict the number of locales enabled in the application <performance-enabled-locales>`
1720

18-
Production Server Checklist
19-
---------------------------
20-
21-
#. :ref:`Use the OPcache byte code cache <performance-use-opcache>`
22-
#. :ref:`Use the OPcache class preloading <performance-use-preloading>`
23-
#. :ref:`Configure OPcache for maximum performance <performance-configure-opcache>`
24-
#. :ref:`Don't check PHP files timestamps <performance-dont-check-timestamps>`
25-
#. :ref:`Configure the PHP realpath Cache <performance-configure-realpath-cache>`
26-
#. :ref:`Optimize Composer Autoloader <performance-optimize-composer-autoloader>`
27-
2821
.. _performance-install-apcu-polyfill:
2922

3023
Install APCu Polyfill if your Server Uses APC
@@ -75,6 +68,7 @@ container into a single file, which could improve performance when using
7568
// ...
7669
$container->setParameter('container.dumper.inline_factories', true);
7770
71+
7872
.. _performance-enabled-locales:
7973

8074
Restrict the Number of Locales Enabled in the Application
@@ -83,6 +77,19 @@ Restrict the Number of Locales Enabled in the Application
8377
Use the :ref:`framework.translator.enabled_locales <reference-translator-enabled-locales>`
8478
option to only generate the translation files actually used in your application.
8579

80+
Production Server Checklist
81+
---------------------------
82+
83+
These are the changes that you can make in your production server to improve
84+
performance when running Symfony applications:
85+
86+
#. :ref:`Use the OPcache byte code cache <performance-use-opcache>`
87+
#. :ref:`Use the OPcache class preloading <performance-use-preloading>`
88+
#. :ref:`Configure OPcache for maximum performance <performance-configure-opcache>`
89+
#. :ref:`Don't check PHP files timestamps <performance-dont-check-timestamps>`
90+
#. :ref:`Configure the PHP realpath Cache <performance-configure-realpath-cache>`
91+
#. :ref:`Optimize Composer Autoloader <performance-optimize-composer-autoloader>`
92+
8693
.. _performance-use-opcache:
8794

8895
Use the OPcache Byte Code Cache

0 commit comments

Comments
 (0)