Showing posts with label web development. Show all posts
Showing posts with label web development. Show all posts

Wednesday, November 26, 2008

Heavy web dev: TechCrunch is a 2MB page.

One of the blogs I read all the time is TechCrunch: it covers the high-tech startup scene.

http://www.techcrunch.com/

You could argue that it's more than a blog since it's a full-fledged business with multiple partner sites and paid writers, but I still think of it as a blog because if its focus on immediacy. Everything is reported fast and off-the-cuff, with even the more ponderous, essay-like posts obviously written in haste.

As I was looking at it today I started wondering how big, in terms of data size and bandwidth, a site like that is. The answer: almost two megabytes for the home page.

Folks, that is a lot. Yahoo's front page, which also takes a long time to load and is also full of Flash adverts, clocks in at 445K today. The chart view on Google Finance, which has light ads but very heavy (and feature-rich) Flash, is 680K.

I'm not trying to pick on TechCrunch here: the fact is that the acceptable size of any web page has grown phenomenally in the last year or so. As an iPhone user and a Web developer I find the trend worrisome.

Of course you want to make the page as rich as possible for the user, and of course you want to maximize your ad revenue. But you have to balance that against a fundamental aspect of usability: if the page takes too long to load, or puts too great a burden on low-power devices, you are leaving a lot of potential users out in the cold.

For my part, I plan to take page size and load time very seriously in my next Web project. I doubt I'll be able to hit my Web 1.0 gold standard of 15K per page, since a decent JavaScript toolkit and a bit of Google Analytics already breaks the 100K barrier, but it's still an important consideration.

(As for TechCrunch specifically, they're very good about publishing a full RSS feed. I read that on my phone most of the time, and read the site a bit during the day since there are often embedded videos and links to other heavyweight sites that aren't as usable on a mobile device.)

Friday, July 06, 2007

static.google.com

If you're a web developer, you probably get the whole idea just from the title of this post. It's not my idea; it's probably been had by a lot of other folks to, but I ran across it first on Richard Tallent's blog: http://www.tallent.us/blog/?p=7 In a nutshell:
"I think it’d be spiffy if Google hosted a few FOSS Javascript, CSS, and image resources, and encouraged all web designers to link to them rather than hosting the files themselves."
Things like Prototype, MochiKit, various icons and so on. The main upside for Google is that give a really big push to rich web apps, just at the moment when they're starting to really break through (witness iPhone). The big win for everyone else is that rich web apps load a whole lot faster (effectively centralizing the caching, and serving from the fastest servers anywhere). Potential downsides? Google knows more about your visitors, but do you care? Aren't you using Analytics and AdSense already? Also, your site's availability is tied to Google's. Again, do you care? At this point the Internet is down if Google is down, at least as far as normal users are concerned (and this is all about normal users). The other really cool thing I could see coming out of this is a general increase in the quality of free graphics (icons, backgrounds, etc.). It would be a very serious mark of prestige to have Google hosting your icons; and it would mean enormous exposure (assuming they're good). There are already some very good free icons out there, but this would be the incentive to bring that to the next level. And then everyone wins: talented designers get fame and lucrative contracts, developers and users get fast-loading high-quality graphics, Google helps push the Online App experience. Well, maybe Microsoft doesn't win. But hey, they have Vista, right?