Optimize, optimize, optimize…

I actually don’t dislike the features and flexibility the Javascript language provides, but I don’t like the slowness it brings. On Digg today there was this article about javascript and how it slows down the web. And this is so true.

Heavy JS/Ajax is the No1 culprit for my 12″ 867 Mhz G4 Powerbook not being able to keep up with most sites today. As you may remember, I have JS+Plugins all turned off on all of of my browsers there in order to be able to get a respectable rendering time without the computer overheating from the intense computations talking place and burn my lap. Sites like LinuxDevices.com, LiberatedFilms.com and of course Flash on YouTube (Adobe stopped optimizing Flash for PowerMacs a long while back), used to, or continue to bring my Powerbook down. We are talking about over 10 seconds to register a click if one of these sites is loaded. When I bought this laptop, it was surfing the web just fine. Today, it can’t just even do that properly. Heck, I am forced to even use the mobile version of Hotmail instead their new Ajax-based one these days.

For me, these are the culprits:
1. Heavy javascript used even when it’s not really needed. Advertisers should get a clue too.
2. Flash video not optimized enough, at least not on PowerPCs.
3. Heavy CSS.
4. Unoptimized WYSIWYG-created bloated HTML.

To make it clear: I am not against using these technologies. But they must be used wisely.


Thom Holwerda wrote on August 15th, 2007 at 9:26 AM PST:

But they must be used wisely.

I think Adam is doing that just great on OSNews v4. The site is blazing fast on whatever machine and OS I throw at it; wether it’s my 450Mhz Cube, or my 667Mhz P-II running Firefox on QNX, v4 is fast, even with its use of JS.

Adam Scheinberg wrote on August 15th, 2007 at 9:50 AM PST:

Thanks Thom. The funny part is, none of the JS on v4 is optimized yet. I’ve tried to keep things as simple as possible, but I still think there’s plenty of js optimization to do when (if?) we go live.

Nikos wrote on August 16th, 2007 at 11:37 AM PST:

i totally agree on this one. Why all this craze for polished fancy stuff. I like my web light and fast and to the point. I just don’t care about the flashy stuff!

Comments are closed as this blog post is now archived.

Lines, paragraphs break automatically. HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

The URI to TrackBack this blog entry is this. And here is the RSS 2.0 for comments on this post.