Skip to content

Commit 0e6a885

Browse files
authored
Hint for generating container preload file
The container preload file will only be generated when both factories and class_loader are inline, so you need to set both parameters to `true` explicitly.
1 parent 1f66f56 commit 0e6a885

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

performance.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@ with the ``preload`` suffix:
113113
114114
.. _performance-configure-opcache:
115115

116+
You need to set both parameters ``container.dumper.inline_factories`` and
117+
``container.dumper.inline_class_loader`` to ``true`` to enable generating
118+
the ``preload`` file during container compilation.
119+
116120
Configure OPcache for Maximum Performance
117121
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
118122

0 commit comments

Comments
 (0)