Load Time, the UX Factor: Facts and Measures

Published on June 21, 2007 (↻ December 23, 2024), filed under (RSS feed for all categories).

This and many other posts are also available as a pretty, well-behaved ebook: On Web Development.

This post is partially outdated.

Load time of websites seems to remain our industry’s stepchild: One script library here, an unoptimized logo there, plus a complementary video and a 75 KB analytics script on top, voilĂ , “take this, visitor, 540 KB pleasure for you while I don’t care that these 540 KB will take 1 minute and 18 seconds of your time to download” (based on an optimal 56 kbit/s connection).

The vision is real-time surfing, not spending bandwidth improvements. Here are some things to consider for fast websites.

Facts

  1. 10 seconds is about the limit for keeping the user’s attention focused on a dialog, according to Jakob Nielsen’s and other studies. This still holds true, and you can compare this with your own reaction to wait. Consider it boring subjective time, and you’ve got a mix that lets users leave, quickly.

  2. At the moment, almost 20% of U.S. households still use a narrowband Internet connection, according to Leichtman Research Group (via WebSiteOptimization.com).

  3. The average web page size increases by 20 KB per year, according to this author’s empirical data [I don’t know what I meant here]. Users keep on being forced to wait, albeit slightly less due to increasing connection speeds.

Measures

First, please monitor your site’s load time.

  1. Most importantly, develop and adhere to a philosophy that keeps things simple and that emphasizes (less to no) latency as an important UX factor. People don’t like to wait, and bad performance is an attribute and problem of your website, not of the Internet.

  2. Use HTML elements according to their semantics. Switching from table to CSS layouts might save 50% to more than 60% HTML file size. (Expect easier site maintenance, too.)

  3. Question all page elements. Is it really necessary to include your full bio with high-res photographs on every page (nothing against photos, quite the contrary)? Do you really need these (undesirable) “Valid…” buttons? Do you really need that long Delicious bookmarks list in the sidebar? And so on.

    If you’re unsure: Test your site with users (especially when you don’t usually do any testing); in case of emergency, ask a friend or family member to contact you via your site or to comment on a post (and sound the alarm when they cannot because of the omnipresent blogroll). Guerrilla testing is better than no testing.

  4. Now that you abandoned certain page elements, optimize and compress the rest using a

  5. Enable and optimize caching, though I’ll hand you over to Mark Nottingham and the (somewhat strange) Vancouver Webpages now.

You might want to check your website’s performance again and probably continue reading over at Christian Heilmann and Martin Kliehm, too. Load time has an impact, and there’s almost nothing more beautiful than a website that loads quickly.

(In case you wonder about this site’s performance—its server’s probably several thousand kilometers away. Let’s track this, too.)

Update (August 18, 2008)

I cannot but point out two recommendable books on this matter as well: On the one hand the “classic” from Steve Souders, High Performance Web Sites (I should write more about the book), on the other hand recently published Website Optimization by Andy King, who shares more performance tips on the book website.

Was this useful or interesting? Share (toot) this post, and support my work by learning with my ebooks!

About Me

Jens Oliver Meiert, on November 9, 2024.

I’m Jens (long: Jens Oliver Meiert), and I’m a frontend engineering leader and tech author/publisher. I’ve worked as a technical lead for companies like Google and as an engineering manager for companies like Miro, I’m a contributor to several web standards, and I write and review books for O’Reilly and Frontend Dogma.

I love trying things, not only in web development (and engineering management), but also in other areas like philosophy. Here on meiert.com I share some of my experiences and views. (Please be critical, interpret charitably, and give feedback.)

Comments (Closed)

  1. On June 25, 2007, 12:38 CEST, Martin Kliehm said:

    Hi Jens, thanks for the sum-up and the link to my performance article. Just yesterday I blogged about the performance rules Nate Koechley gave in his presentation in London two weeks ago. Some of them are new, others just deepen the understanding for performance optimization.

  2. On June 29, 2007, 22:51 CEST, Jacques said:

    Just a note on the “optimal” 56 Kb/s. Optimal means all the lanes of the highway are open for just the one traveller. In practice dial-up users NEVER get that throughput as ISPs farm out bandwidth to all their customers. In some developing regions, even if one rents 56 Kb/s, on a busy day throughput is in single digits.

    My Law of Internet Access Waiting Time states that a user will wait according to the Degree of Desperation. Yes, if I REALLY need that info, I’ll wait 10 minutes for a 100KB document to load. But when surfing such users will go away to a site that’s quicker.

  3. On July 2, 2007, 11:32 CEST, Laurens Holst said:

    For optimising PNG files I recommend PNGGauntlet.

    It works really really well. It can also automatically convert GIF and JPG images to PNG if the PNG version is smaller, which is usually the case for GIF, and the 1-bit transparency still works in IE even when converted to PNG.

    Using PNGGauntlet to reduce image sizes and move from GIF to PNG can easily cause an overall image size reduction of 10-20%. Try it out on your site’s images directory.

    Now that I’m talking about PNG, might as well mention TweakPNG which allows you to add a bKGD background colour to your PNGs. This is very useful if you want to use PNGs with an 8-bit alpha channel to get transparency, because IE will not show the page’s background colour for those but the colour specified in this field instead (and default to gray if absent).