Browse Source

Warn about using autoloader optimizations in dev

Jordi Boggiano 8 years ago
parent
commit
6260bb70d0
1 changed files with 4 additions and 0 deletions
  1. 4 0
      doc/articles/autoloader-optimization.md

+ 4 - 0
doc/articles/autoloader-optimization.md

@@ -17,6 +17,10 @@ new classes do not appear at random between deploys.
 
 For this reason, Composer offers a few strategies to optimize the autoloader.
 
+> **Note:** You **should not** enable any of these optimizations in **development** as
+> they all will cause various problems when adding/removing classes. The performance
+> gains are not worth the trouble in a development setting.
+
 ## Optimization Level 1: Class map generation
 
 ### How to run it?