Professional PHP

PHP Programming, Web Development, PHP Advocacy and PHP Best Practices.
« The Legality of Republishing RSS Feeds
PHP as a Deployment Platform »

Faster Page Loading

October 31st, 2006

Google engineer Aaron Hopkins wrote a good article on page loading times (via Harry). He talks about the impact of AJAX on page load times, focusing on connection limits, latency and the large number of external objects on your typical AJAX page. He offers a variety of tips on improving page load times, including doing more with the connections you have, busting the connection limit, caching, and sending less data.

I wrote about web page loading performance a while ago, when I linked to Dave Hyatt’s most excellent explanation of the issues involved with testing page load speed. In fact the Safari browser blog endorses Aaron Hopkins article and mentions how to measure page loading times in Safari using the debug menu.

On the Mozillia front, the Tamper Data extension generates some amazing graphs of when elements on a page load and how long it takes.

On the topic of sending less data, the Yahoo! User Interface Blog weighs in on page waits with a discussion of javascript minimization versus compression. They also briefly cover the YUI decision to serve components a la carte, rather than in an aggregated file.

Cal Henderson of Flickr also takes up this topic in serving JavaScript fast. He goes into more depth about the issue of a la carte external objects versus aggregated external objects as well as covering compression and caching issues with examples in PHP.

From the PHP perspective, Michael J. Radwin and Rasmus Lerdorf have covered web application performance issues in conference talks.

Are your web pages cacheable or not?

On the home front, this is my first post on this blog since I’ve installed wp-cache2 and upgraded to eAccelerator 0.9.5. And my first post since my fishing vacation, too :)

categories PHP, Web Design
tags ajax, caching, firefox, javascript, page-loading-performance, performance-optimization, safari, tamper-data

Related Posts

  • Yahoo YUI wins JavaScript Library Wars
  • Web Page Loading Performance
  • Firefox Extensions for Web Developers
  • Meta Tag Refresh Faux Paux
  • PHP Security Ramblings
You can leave a response, or trackback from your own site.

3 Responses to “Faster Page Loading”

  1. #1 Son Nguyen responds...
    February 16th, 2007 at 10:48 am

    Excellent references and very useful. Thanks for compiling and sharing.

  2. Yahoo YUI wins JavaScript Library Wars - Professional PHP pingbacked on February 23rd, 2007 at 12:37 pm
  3. #3 Aaron Rosenfeld responds...
    July 7th, 2008 at 6:37 am

    Excellent informative post! Thanks for getting these links together in one place.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

code: use [code=php][/code].

Comment Preview

  • Search

  • Subscribe

    Subscribe All Posts
    Subscribe All Comments
    Subscribe All Bookmarks
    Subscribe with Bloglines Subscribe with My Yahoo Add to netvibes Subscribe in NewsGator Online Add to Google
  • Share This

  • Categories (Home)

    • Agile Methods (14)
    • Mac (14)
    • Misc (16)
    • Open Source (14)
    • PHP (95)
    • Software Design (28)
    • Usability (14)
    • WACT (7)
    • Web Design (20)
  • Recent Comments

    • Sarah Snow Stever  26
      Massimo, arabcrunch, Dubai Web Design, Development [...]
    • The PHP scalability saga continues  17
      vaginal, uceqlehwigi, panties [...]
    • Keywords and Language Simplicity  9
      Programmer, cfbow, olmse [...]
    • PHP 5.1 is out  8
      Preteen, Soma, teedattaltY [...]
    • goto in PHP  39
      jistanidiot, Goldilocks, [...]
    • Working with PHP 5 in Mac OS X 10.5 (Leopard)  105
      Massimo, jitesh Shetty, Jesse [...]
    • WordPress BBCode Plugin  24
      ?????? ??, ?????? ??, smolenskiy [...]
    • Why is PHP Popular?  24
      art.ru, agened.ru, visasim.ru [...]
    • nofollow and comment spam  7
      Pwhndvve, Massa, che spavento, Scopmazo [...]
    • Why is PHP Code Considered Hard to Maintain?  25
      bez-riska.ru, Visitor338, Cody [...]
    • PHP Scalability and Performance  7
      youporn, kvz, John Loehrer [...]
  • Pages

    • Tags
  • Recent Posts

    • php | tek Wrapup
    • php | tek 2008
    • Sarah Snow Stever
    • Benchmarking PHP’s Magic Methods
    • The Endpoints of the Scale of Stupidity on Video
    • Working with PHP 5 in Mac OS X 10.5 (Leopard)
    • Keywords and Language Simplicity
    • Improved Error Messages in PHP 5
    • Michigan Taxes Graphic Design Services
    • Ruby versus PHP or There and Back Again
  • Archives

    • 2008: May
    • 2007: Jan Feb Mar Apr May Sep Oct Nov
    • 2006: Jan Feb Mar Apr May Jun Jul Oct Nov Dec
    • 2005: Jan Feb Mar Apr May Sep Oct Nov Dec
    • 2004: Apr May Jun Jul Aug Sep Oct Nov
  • Menu

    • Register
    • Log in