From 0e6a885541ec600d934bfe805bc5685a518f62ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20R=C3=B6=C3=9Fner?= Date: Thu, 9 Jan 2020 16:44:33 +0100 Subject: [PATCH] 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. --- performance.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/performance.rst b/performance.rst index 77e10d1b593..8413844d132 100644 --- a/performance.rst +++ b/performance.rst @@ -113,6 +113,10 @@ with the ``preload`` suffix: .. _performance-configure-opcache: +You need to set both parameters ``container.dumper.inline_factories`` and +``container.dumper.inline_class_loader`` to ``true`` to enable generating +the ``preload`` file during container compilation. + Configure OPcache for Maximum Performance ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~