@@ -11,20 +11,13 @@ performance checklists.
11
11
Symfony Application Checklist
12
12
-----------------------------
13
13
14
+ These are the code and configuration changes that you can make in your Symfony
15
+ application to improve its performance:
16
+
14
17
#. :ref: `Install APCu Polyfill if your server uses APC <performance-install-apcu-polyfill >`
15
18
#. :ref: `Dump the service container into a single file <performance-service-container-single-file >`
16
19
#. :ref: `Restrict the number of locales enabled in the application <performance-enabled-locales >`
17
20
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
-
28
21
.. _performance-install-apcu-polyfill :
29
22
30
23
Install APCu Polyfill if your Server Uses APC
@@ -75,6 +68,7 @@ container into a single file, which could improve performance when using
75
68
// ...
76
69
$container->setParameter('container.dumper.inline_factories', true);
77
70
71
+
78
72
.. _performance-enabled-locales :
79
73
80
74
Restrict the Number of Locales Enabled in the Application
@@ -83,6 +77,19 @@ Restrict the Number of Locales Enabled in the Application
83
77
Use the :ref: `framework.translator.enabled_locales <reference-translator-enabled-locales >`
84
78
option to only generate the translation files actually used in your application.
85
79
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
+
86
93
.. _performance-use-opcache :
87
94
88
95
Use the OPcache Byte Code Cache
0 commit comments