• iPad HTTP Debugging with Charles

    After noticing that the caching in iPad Safari seemed a little funky, I made an effort to decipher some of the logic used by the browser cache. I didn’t get very far, but in the process I figured out how to route my iPad HTTP traffic through a web debugger on my laptop. It turns ...

  • Cleaning Up Ad Server Scripts

    If you work on sites with ads you know that few things can muck up your efforts to improve a site’s performance like an ad server–3rd party ad tags, iFrames, lots of document.write, and almost all of it out of your control. In his P3PC series, Steve Souders is currently analyzing the performance of popular ...

  • Serving Static Content from a Cookieless Domain

    Serving static content from a cookieless domain is a standard performance best practice, one you’ve surely encountered if you’ve used a performance analysis tool like YSlow or Page Speed.  The concept is simple—don’t serve static content like images and stylesheets from a domain that sets cookies—but exactly how to achieve this might not be clear ...

  • How to Install Nginx on WebFaction

    As a precursor to a few posts about Nginx I thought I would outline the steps required to install your own instance of Nginx on WebFaction. WebFaction’s servers include an installation of Nginx that you use whenever you create a “static only” or “symlink to static only” app, and for many things this is all ...

  • How to Install Radiant CMS on WebFaction

    WebFaction recently added a one-click installer for a Ruby/Rails/Nginx/Passenger stack. I tried it out last week, attempting to install the Rails-based CMS Radiant, but being fairly new to Rails I ran into a number of obstacles. Most of the problems I encountered involved mysterious version conflicts between dependencies and gems existing in multiple locations. It ...

  • WebFaction Web Host Review

    A few months ago I made the decision to upgrade from my run-of-the-mill, cheap shared hosting account to something that felt a little more serious.  Initially I had planned to move to Media Temple’s Grid service but further research turned up an overwhelming number of bad reviews and seemingly legitimate complaints. So then I decided ...

  • Tracking Events in Google Analytics

    Update (1/31/10): Scroll to the end of the post for an updated version of the code. A few weeks ago I wrote a post about tracking events in Google Analytics with jQuery. The solution I proposed worked but there was definitely room for improvement. The idea was to tag the links you wanted to track ...

  • Event Delegation in jQuery and Performance (live vs bind vs other options)

    Back home in Massachusetts for the holidays.  Lots of snow and lots of cold.  And an uncommon spell of morning quiet time in which, while trying to think of a better way to capture events in Google Analytics, I ended up comparing and testing different options for handling events, most involving delegation and most involving ...