diff --git a/performance.rst b/performance.rst index 2881b9a17c0..2ae3b3daff3 100644 --- a/performance.rst +++ b/performance.rst @@ -113,16 +113,14 @@ classes to preload. The only requirement is that you need to set both ``container.dumper.inline_factories`` and ``container.dumper.inline_class_loader`` parameters to ``true``. -The preload file path is the same as the compiled service container but with the -``preload`` suffix: +This preload file is generated by the ``cache:clear`` command and will be located in +your ``src/`` directory: .. code-block:: ini ; php.ini opcache.preload=/path/to/project/src/.preload.php -This file is generated by the ``cache:clear`` command. - .. _performance-configure-opcache: Configure OPcache for Maximum Performance