Web Performance for PHP Developers

Hans Zaunere

Gennady Feldman

Sergey Chernyshev

New York, NY

June 16th, 2009

June '09 NY Web Performance Workshop & NY PHP

What is performance?

Why do we need to care?

Part 1: PHP + DB (Hans Zaunere)

Part 2: PHP code profiling using XDebug (Gennady Feldman)

Part 3: Front-end performance testing and optimization

Sergey Chernyshev

Front-end: Pages grew huge!

Amount of media and requests per page grew exponentially.

1995 - 2008
Growth of the Average Web Page (1995 - 2008)
* Average Web Page Size Triples Since 2003, as of end of 2007 (via Nicole Sullivan)

Front-end: Pages grew huge!

Top 1000 Home pages, growth in just 1.5 years.

Jun 2006 - Jan 2008
Growth of the Average Top 1000 Home Page (June 2006 - January 2008)
* Average Web Page Size Triples Since 2003, as of end of 2007 (via Nicole Sullivan)

How do we know what's going on?

Amazon Waterfall!

Amazon Waterfall

CNN Waterfall!

CNN Waterfall

Make fewer requests

Put less on the wire

Flush early

* more about flushing early: Even Faster Web Sites @ SXSW 2009

Fight with cache, not against it

Cache is your friend

Cache is your friend

Cache is your friend

Cache is your friend (even for dynamic content)

Q & A

More info

About these slides

These slides use an HTML presentation tool Slidy.

They are valid XHTML document with rich metadata embedded using RDFa.

Valid XHTML + RDFa Extract RDF from RDFa on this page

Licensing & Attribution

Tools of the trade by Sergey Chernyshev
is licensed under a Creative Commons Attribution 3.0 United States License.
Permissions beyond the scope of this license available here.

Creative Commons License