1) Hardware upgrades are often cheaper and provide more performance gains than slow, error-prone code optimizations. Profiling and caching can provide gains without changing code.
2) Premature optimization wastes time; optimize only after identifying bottlenecks through profiling. Simplify code through modularization instead of over-engineering.
3) Caching queries, pages, and computation results in memory provides major speedups with little effort compared to direct code optimizations. Match buffer sizes for efficient PHP-to-OS communication.