Skip to content

Commit 151b9c3

Browse files
committed
Minor reword
1 parent cbf055c commit 151b9c3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

performance.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,13 @@ Starting from PHP 7.4, OPcache can compile and load classes at start-up and
108108
make them available to all requests until the server is restarted, improving
109109
performance significantly.
110110

111-
During container compilation, Symfony generates the file with the list of
112-
classes to preload. The only requirement is that you need to set both
113-
``container.dumper.inline_factories`` and ``container.dumper.inline_class_loader``
114-
parameters to ``true``.
111+
During container compilation (e.g. when running the ``cache:clear`` command),
112+
Symfony generates a file called ``.preload`` (with a leading ``.``) in the
113+
``src/`` directory with the list of classes to preload.
115114

116-
This preload file is generated by the ``cache:clear`` command and will be located in
117-
your ``src/`` directory:
115+
The only requirement is that you need to set both ``container.dumper.inline_factories``
116+
and ``container.dumper.inline_class_loader`` parameters to ``true``. Then, you
117+
can configure PHP to use this preload file:
118118

119119
.. code-block:: ini
120120

0 commit comments

Comments
 (0)