14 June 2008

Sat 14th - 2

I've been trying to reduce the page-loading time for this blog but so far haven't had much success. Some site somewhere said that ideally page-size should be under 200K, but this page is over that and presumably for anyone with a slower connection it will take ages to load. I tried reducing the number of widgets, reducing the number of posts, reducing the size of images, and all of that helped a bit - but not enough to make much difference, so I put them all back again.

The biggest size-hogs are not images but JavaScript files. Here is a list of my pages ranked in size (K) from largest to smallest, total size first and JavaScript size second.

Flickr .... 1058 .... 533
Twitter .... 341 .... 248
Blogger .... 248 .... 158
CiteULike .... 245 .... 146
LibraryThing .... 191 .... 133
del.icio.us .... 143 .... 63

If you're interested in page size/load time and you use the Firefox browser, two add-ons are useful:

Firebug

YSlow

YSlow does the size checking but it's an extension of Firebug and won't work on its own, so you need to have Firebug installed too.