8000 Updates in performance.rst by Erdou · Pull Request #8410 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Updates in performance.rst #8410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 11 commits into from
Prev Previous commit
Next Next commit
Added reference to composer's autoloader optimization page
  • Loading branch information
Erdou committed Sep 20, 2017
commit ddece5b777f2b5b6c558f9e99dff4e31cbf8fb93
6 changes: 4 additions & 2 deletions performance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,9 @@ Optimize Composer Autoloader

The class loader used while developing the application is optimized to find
new and changed classes. In production servers, PHP files should never change,
unless a new application version is deployed. That's why you can optimize
Composer's autoloader to scan the entire application once and build a "class map",
unless a new application version is deployed.
That's why you can use `Composer's autoloader optimization`
to scan the entire application once and build a "class map",
which is a big array of the locations of all the classes and it's stored
in ``vendor/composer/autoload_classmap.php``.

Expand Down Expand Up @@ -173,6 +174,7 @@ Learn more

.. _`byte code caches`: https://en.wikipedia.org/wiki/List_of_PHP_accelerators
.. _`OPcache`: http://php.net/manual/en/book.opcache.php
.. _`Composer's autoloader optimization`: https://getcomposer.org/doc/articles/autoloader-optimization.md
.. _`APC`: http://php.net/manual/en/book.apc.php
.. _`APCu Polyfill component`: https://github.com/symfony/polyfill-apcu
.. _`APCu PHP functions`: http://php.net/manual/en/ref.apcu.php
0