NYCPHP Meetup

NYPHP.org

[nycphp-talk] 40 Tips for optimizing your php Code

Dan Cech dcech at phpwerx.net
Tue Oct 16 08:06:10 EDT 2007


Nelly Yusupova wrote:
> I just read 40 Tips for optimizing your php code post and wanted to share it
> with you all:
> 
> http://reinholdweber.com/?p=3

Definitely an interesting article, but a little short-sighted.

For the vast majority of PHP applications, the biggest speed
improvements are made by reducing the size of the pages generated (to
minimize the time in transit) and optimizing the database (efficient
layout, proper indexes and optimized queries).

Every little bit helps, but the impact of most of those tweaks is
marginal compared to the gains to be found in those 2 areas for most
systems.

Dan



More information about the talk mailing list