Browse Source

Merge pull request #7293 from ramin2nt2/patch-2

[skip ci] Adding Composer Auto loader Optimization Section
tags/2.0.3
Alexander Makarov 10 years ago
parent
commit
6e67f7134c
  1. 6
      docs/guide/tutorial-performance-tuning.md

6
docs/guide/tutorial-performance-tuning.md

@ -218,6 +218,12 @@ foreach ($posts as $post) {
Note that you can use array notation even if `asArray` wasn't specified and you're
working with AR objects.
### Composer Atuoloader Optimization
The autoloader's performance is really important in modern PHP applications. Optimizing Composer's autoloader using ``` php composer.phar dumpautoload -o ``` is the way to have maximum performance. But it is the responsibility of the application developer to apply the optimization.
php composer.phar dumpautoload -o
### Processing data in background
In order to respond to user requests faster you can process heavy parts of the

Loading…
Cancel
Save