Skip to content

Commit d606d01

Browse files
committed
Tweaks and fixes
1 parent 2a096e5 commit d606d01

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

performance.rst

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,17 @@ Use the OPcache class preloading
5353
The feature that generates the preloading file was introduced in Symfony 4.4.
5454

5555
Starting from PHP 7.4, OPcache can compile and load classes at start-up and
56-
make them available to all requests until the server is shut down, improving
57-
performance significantly. Symfony generates automatically the file with the
58-
list of classes to preload:
56+
make them available to all requests until the server is restarted, improving
57+
performance significantly.
58+
59+
Symfony generates the file automatically with the list of classes to preload.
60+
The file path is the same as the file generated for the service container but
61+
with the ``preload`` suffix:
5962

6063
.. code-block:: ini
6164
6265
; php.ini
63-
opcache.preload=/path/to/project/var/cache/prod/srcApp_KernelProdContainer.preload.php
66+
opcache.preload=/path/to/project/var/cache/prod/App_KernelProdContainer.preload.php
6467
6568
.. _performance-configure-opcache:
6669

0 commit comments

Comments
 (0)