Explorar o código

Warn about using autoloader optimizations in dev

Jordi Boggiano %!s(int64=8) %!d(string=hai) anos
pai
achega
6260bb70d0
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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?