Cable & Wireless I.T. Think Tank

A collection of ideas, methodologies, articles and links on, or at least applying to, Cable & Wireless's IT department.

Wednesday, October 06, 2004

CSS Presentation

An interesting link from Tom about the use of CSS. It covers basic techniques, but more interestingly covers some of the stats to do with bandwidth savings and page weights. A brief overview: using proper CSS2 and XHTML can radically reduce the size of your pages, because you need less markup in the actual HTML itself. The results can be pretty stunning:

ESPN redesigned their site using CSS2 and XHTML:

  • Page reduction (est.) 50 KB
  • Page views/day: 40,000,000
  • Projected bandwidth savings: 2 terabytes/day
  • or 61 terabytes/month
  • or 730 terabytes/year

730 terabytes a year!!! That is a whole lot of saved bandwidth just from redesigning your page.

They also include some stats about Microsoft's website before and after redesign:

OldNewSavings
Versions21
Tables400
Spacer gifs350
HTML40 KB15 KB62%


62% savings? Thats pretty good. So, I thought I'd carry out some of the same analysis on the current version of World.Cwintra.Com:

World
Versions4
Tables18
Spacer gifs0
HTML33 KB

This isn't actually as bad as I feared - the different versions are far too high (we have different stylesheets for each different browser type), but I was surprised to discover a lack of spacer gifs, and although the page weight is quite high, it is the homepage, which will always contain a lot of content. The "Selling To Customers" area homepage was down to 24KB.

So, we're not as bad as Microsoft were, but we could still remove those 18 friggin' tables, in my opinion. If anyone cares to spend the time trying to work out the bandwidth savings this might give us, then please go ahead and post it!


4 Comments:

At 6 October 2004 at 11:30, Blogger Thomas David Baker said...

Trouble is it's not bandwidth that we pay for. We own all the wires, right? So it's free, effectively.

 
At 6 October 2004 at 11:50, Blogger Adam said...

True, so we're not saving cash, but I think the follow would all apply if we redesigned the site, to a greater or lesser extent:

Increased server capacity and efficiency
Faster loading pages
Users more quickly accomplish tasks
One version to maintain
Simpler code
Faster development
Easier collaboration
Greater reach
Forward and backward compatibility

 
At 29 November 2005 at 02:48, Anonymous Anonymous said...

A

 
At 24 October 2011 at 23:35, Anonymous Anonymous said...

Battery Powered Fans Components

 

Post a Comment

<< Home