Brad Feld

Back to Blog

The Unbearable Slowness of Javascript Widgets

Aug 15, 2007
Category Technology

Alex Iskold – the giant brain behind AdaptiveBlue – has a great post up today titled How JavaScript is Slowing Down the Web (And What To Do About It)While I’m sure no one has ever noticed how slow my blog (or Fred Wilson’s) loads (cough, cough, choke, choke – that would be sarcasm), there’s no easy solution.

In addition to describing the problem clearly, Alex suggests several approaches that make things better.

  1. Defer the execution of the JavaScript
  2. Minimize the amount of code that runs on load
  3. Load-balance requests by generating different URLs
  4. Use Standard Libraries
  5. Most Importantly – Think About It

I was in a meeting last week with Alex and a handful of other widget developers who are aggressively working on some interesting approaches and solutions to improve this.  Look for new and improved stuff coming soon to a blog near you.