Archive for the ‘Technology’ Category

What happens if you have good broadband ?

Friday, May 30th, 2008

Om Malik has just wrote a post about broadband usage in London. In London there are a numer of providers and they have quality services for WI-FI, Broadband and 3G. Here’s the full report from Ofcom .

In London:

levitra professional

* 40 percent of people watch TV or video content online.
* 20 percent make VoIP calls.
* 32 percent are using their mobile phones to access the Internet.
* 19 percent listen to audio content on their mobiles.

The evidence is mounting better broadband and mobile services will result in more usage and more opportunities for companies / content providers to create new revenue streams. Let’s hope things will change for the better this decade!

Speed up your javascript – run Prototype / JQuery from Google

Wednesday, May 28th, 2008

Google has just released the AJAX Libraries API. Google has created an API that allows developers to access a number of popular javascript API from the Google Cloud.

You can use the Google AJAX Libraries API to reference:

levitra online sale

  • Prototype
  • JQuery
  • MooTools
  • Scriptalous
  • Dojo

Why is this good idea ?

  1. Its Fast – its hosted on the Google CDN.
  2. The libraries have already been optomised ie. minified, delivered via compression
  3. It enables better caching of key libraries from one site to another. ie. Visit site A that uses mootools it downloads the javascript. Visit site b that uses mootools and it fetches it from the cache.

How do I use it ?

Its really easy to use. Either call the scripts directly eg.

<script src=“http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js”></script>

or use the Google API to load them scripts.

<script src=“http://www.google.com/jsapi”></script>

<script>

// Load jQuery

google.load(“jquery”, “1”);

A couple of requests to Google

The AJAX Library API is a fantastic idea, but it could be better. We have a couple of requests 🙂 .

  1. can you host more of the legacy versions of the libraries. (We use an old version of prototype. The recent versions are a little bloat for what we need).
  2. It would great if you could provide stats on how many sites in a particular country are using the libraries. Then we can see if there are other sites in that are using the same libraries and then we get the benefit of caching 🙂
  3. Properly minify the scripts! Thanks for to Eric for pointing it out.
  4. Fix the Website. The FAQ and Groups links are going to the wrong place !

Speed up NZ internet – Lesson One: Maximise Parallel downloading

Tuesday, May 27th, 2008

paxil canada

What is parallel downloading?

In order to explain what parallel downloading is we first have to illustrate how a webage is rendered by a browser. When you type in the URL and press enter, the browser looks up the DNS for the site, connects to the webserver and requests the base HTML of the site. The browser downloads the file and then starts to parse the HTML. The browser starts to queue up the components of the page it needs to load and then finally begins to render the page.

If the webpage and web server are set-up properly, the browser will seek to download the various components in parallel. ie. it can load multiple components at the same time. Unfortunately, javascript and CSS files can block other components from being downloaded until the files are fully loaded. This blocking behaviour can make a huge impact on a users experience in downloading the page. This blocking behaviour is illustrated below.

Why do want my site to load in parallel ?

The major objective of website optimisation is to minimise the time spent downloading a webpage. One way to achieve this is to load as many components as possible in parallel. (without comprising performance!) The HTTP/1.1 Spec defines that browsers can download two files in parallel from a hostname.

As we move more towards the broadband era, we want to promote more parallel downloading to speed up the delivery of our web content.

Examples:

Below I have included the download profile using IE 6.5 of two New Zealand websites to illustrate why parallel downloading is important.

Good – Parallel downloading




Here you can see the download profile of Trade Me Homepage. You can see that the images load in chunks of 4 at a time. This illustrates how you can much you speed up the loading of your page components.

Bad – Sequential downloading




Here you can see the download profile of Sky City Cinema Homepage. Notice the stepping behaviour of the javascript files loading. The javascript files are loading in single file, one after the other – NOT in parallel. You can see from this behaviour that the loading of the script files is blocking the rest of the content such as images from loading. This explains the delay on the page before the user starts to see the rest of the content.

How did I get my site to load in parallel?

  1. Analyse your current downloading pattern. Use Firebug or SiteTimer to show you how your page is loading. Look for what is loading in parallel and what is loading sequentially.
  2. Minimise the number of blocking files ie Javascript and CSS. When possible combine and use web compression to speed up loading of the site.
  3. Split your page components across multiple domains. ie. One for images, one for ad components. TIP: Create a domain alias for your site eg. for all your images eg. images.blah.com. The browser treats this as a new domain even though its referencing the same webserver.
    Example: For ZoomIn maps – we use 4 domains for the map images, that means for a broadband connection the browser can load upto 8 images at a time.
  4. Note: YSlow research shows that a total of 2-4 domains per page is optimal.

Resources:

NZ homepage 'frontend' vs 'backend' stats

Monday, May 26th, 2008



I’ve just completed a mini audit of the total size of the frontend vs backend requests of the top 75 NZ homepages

The average backend request size is 27.32K (ie. the size of the base html of page) and that equates to an average of 10.65% of total page size. What this means that is 10.65% of the pages is made up of HTML and the other 89.35% of the page is made up with the other content.

What does this mean and why is it important?

A backend request is the base html of the page. The frontend requests are all subsequent requests to load all css, images, javascript etc of the page. As you can see in the above graphic of the download profile of ZoomIn Homepage , you can see that the base HTML is loaded first and then other components of the page (ie. CSS, javascript and images) are loaded after the base HTML

This behaviour is a really important aspect of web compression as the faster you can load the backend html, the faster the rest of your site will start loading and more importantly the faster your users can start using the site.

Google to penalise adwords ranking for slow loading webpages

Thursday, May 22nd, 2008

Why does web performance matter????

Google has announced that it will start adding page load times into formula for ad ranking. They say that it may have an effect on your keyword score.

prednisone price list

Here’s what Google says about why they are making the change.

Why are we doing this?


Two reasons: first, users have the best experience when they don’t have to wait a long time for landing pages to load. Interstitial pages, multiple redirects, excessively slow servers, and other things that can increase load times only keep users from getting what they want: information about your business. Second, users are more likely to abandon landing pages that load slowly, which can hurt your conversion rate.

There is more information at the adwords help center.

NZ Government Home page web performance audit

Thursday, May 22nd, 2008

This part II of my audit of New Zealand Homepages (Part I looked at the top 75 homepages in New Zealand).

I have conduct an audit of 320 Government websites looking at their web performance. The audit was conducted by using YSlow to analyse the download performance of the homepage of a Government website. The list of government websites was taken from the New Zealand Government website. Full results are available from this Google Spreadsheet. Audit conducted on Tuesday Night 20th May 2008.

Audit Findings


Homepage Size

Graph of NZ Government Home page sizes

(Click on the graph to view values)

  • The average homepage size was 216.85K (Compared to 304.5K for top 75 NZ websites) The largest Homepage was staggering 2442K and the smallest homepage was 8.3K,

Web Compression

Graph of Web compression usage on Government webpages

  • 84.1% of Government homepages were not compressed, 11.6% are compressing some of the page elements and only 4.4% (14 sites) are fully compressing their pages.
  • Some sites are compressing only CSS and JS files but NOT their base HTML
  • A lot of sites have compression external javascript eg. Google Analytics (which was discounted as being part of the site) This highlights that all external javascript should be compressed.

Other findings

  • The worst site had 151 files for their homepage and the best site 3 files
  • The worst offending pages had over 21 Javscript files and the worst offender for the number of CSS files was 40.
  • Some sites have duplicate versions of scripts running. One site had 4 Google analytic scripts running.


Tables


Top 10 best Government homepages ranked by YSlow


Website Ranking Total Size (Kilobytes) Total Files # of Javascript files # of CSS files Etags Rating Web Compression Estimated Download time modem @6k/s
http://www.swrb.org.nz 92 23.3 3 0 0 C None 3.88
http://www.mstn.govt.nz 87 65.5 4 0 1 D None 10.92
http://www.nzaid.govt.nz/ 87 165.5 24 3 2 A YES 27.58
http://www.nzrefugeeappeals.govt.nz 87 18.1 4 0 1 D None 3.02
http://www.pco.parliament.govt.nz/ 87 32.7 4 0 1 D None 5.45
http://www.corrections.govt.nz 84 100.8 14 0 2 B None 16.80
http://www.paroleboard.govt.nz/ 82 32.9 9 2 3 A None 5.48
http://www.residencereviewboard.govt.nz 82 20.2 5 0 1 F None 3.37
http://www.gamblingcom.govt.nz/ 81 22.4 6 0 2 A None 3.73
http://www.cpit.ac.nz 80 32.7 5 1 0 A None 5.45


Top 10 worst Government homepages ranked by YSlow


Website Ranking Total Size (Kilobytes) Total Files # of Javascript files # of CSS files Etags Rating Web Compression Estimated Download time modem @6k/s
http://www.sparc.org.nz 31 420 77 21 15 F None 70.00
http://www.airforce.mil.nz/ 34 181.2 52 6 9 F None 30.20
http://www.med.govt.nz 35 298.8 88 3 40 F None 49.80
http://www.tauranga.govt.nz/ 35 393.6 46 16 12 F None 65.60
http://www.lincoln.ac.nz 37 172.4 42 4 14 F None 28.73
http://www.manukau.govt.nz 38 198.8 48 10 5 F None 33.13
http://www.northshorecity.govt.nz/ 38 310.2 47 13 5 F None 51.70
http://www.wintec.ac.nz 38 567.1 74 5 10 F None 94.52
http://www.hnzc.co.nz/ 39 147.8 69 9 16 A Some 24.63
http://www.tourisminfo.govt.nz/ 39 325.8 37 12 6 F None 54.30


Top 10 smallest Government homepages by size


Website Ranking Total Size (Kilobytes) Total Files # of Javascript files # of CSS files Etags Rating Web Compression Estimated Download time modem @6k/s
http://www.asure.co.nz 79 8.3 7 0 1 F None 1.38
http://www.nzrefugeeappeals.govt.nz 87 18.1 4 0 1 D None 3.02
http://www.residencereviewboard.govt.nz 82 20.2 5 0 1 F None 3.37
http://www.roadsafety.govt.nz 76 20.9 7 0 2 F None 3.48
http://www.gamblingcom.govt.nz/ 81 22.4 6 0 2 A None 3.73
http://www.swrb.org.nz 92 23.3 3 0 0 C None 3.88
http://www.takeovers.govt.nz 68 23.9 31 0 0 F None 3.98
http://www.cpit.ac.nz 80 32.7 5 1 0 A None 5.45
http://www.pco.parliament.govt.nz/ 87 32.7 4 0 1 D None 5.45
http://www.paroleboard.govt.nz/ 82 32.9 9 2 3 A None 5.48


Top 10 largest Government homepages by size


Website Ranking Total Size (Kilobytes) Total Files # of Javascript files # of CSS files Etags Rating Web Compression Estimated Download time modem @6k/s
http://www.taipoutini.ac.nz/taipoutini/ 63 2442 20 1 1 F None 407.00
http://www.maoritelevision.com/ 53 2353 44 3 5 F None 392.17
http://www.selwyn.govt.nz/ 64 1906 151 0 1 F None 317.67
http://www.kordiasolutions.com 56 1530 32 3 4 F Some 255.00
http://www.tematatini.org.nz/ 64 1209.6 12 2 1 F None 201.60
http://www.drugfreesport.org.nz/ 66 1009.7 40 4 2 A Some 168.28
http://www.horizons.govt.nz 55 971.3 42 1 2 F None 161.88
http://www.nzonair.govt.nz 66 886.2 68 2 2 F YES 147.70
http://www.transpower.co.nz/ 43 799.7 36 10 5 F None 133.28
http://www.hbrc.govt.nz 47 762.5 40 5 5 F None 127.08




Sites they are a changing…

Monday, May 19th, 2008

My post on NZ Homepage Hall of Shame has shaken things up. I’ve had a number of emails and comments on the blog. A number of sites are now actively looking at improving their page architecture.

Update: A proposal to add web compression to the e-govt webstandard ! Great news.

Kudo’s to New Zealand Herald and Vodafone for taking action and improving their pages. Their numbers now are:

Site
YSlow Rating
HTTP GZIP
Size (K)
# of JS files
# of CSS files
Modem time @6k/s (secs)
nzherald.co.nz 46 some 440.3 11 1 73.38
vodafone.co.nz 50 none 253.6 8 3 42.26

I’ll be doing another audit soon to profile the rest of the sites.

Fantastic idea … to hard to install for families

Wednesday, May 14th, 2008




In the we still haven’t learnt from our past mistakes files…

Just saw this post Software takes you to infinity and beyond on stuff. I thought that the worldwide telescope looks awesome and proceeding to download it. I thought to myself I’ll get my mother in law to install it for her grandchildren in India. And then I got to the download page and here’s what I found.

accutane buy online




6 steps with dependencies and warnings about turning off security. There’s no way I can get my mother in law to install it. Its too complicated and too painful!

If you’re going to release software aimed at families and children then it needs to be easy to install!

NZ Average homepage size under global average

Wednesday, May 14th, 2008




I’ve just found this article about global pages sizes, its confirms some of the figures that I posted about the average size of homepages in New Zealand.

It seems that we are below the global average of 312K. The scary thing is that its grown from a 93K average in 2003! And the number of external files (JS, CSS, images) for a webpage has nearly doubled.

From the article.

“So the increase in the average speed of broadband has more than kept pace with the increase in the size and complexity of the average web page. That is one reason why broadband users expect faster response times. Yet narrowband users have experienced slower response times as web page size has increased.”

The article has some good info on, growth of media files, image sizes and average web page characteristics.

Website and Database optimisation consulting

Wednesday, May 14th, 2008

I’ve recently conducted a survey of the top 75 websites in New Zealand called the New Zealand Homepage hall of shame.

We’ve realised there is a lack of knowledge out there when it comes to make websites faster. Starting today, I’d like to annoucement that Paul Gold (ProjectX and Auric Consulting ) and I (John Clegg) will be available on a consulting basis to help companies improve their website and systems performance.

paroxetine generic

We’ve been working in a number of ecommerce companies for almost 10 years and we’re surprised at the lack of understanding of basic web and database optimisation. We given a couple of talks at WDANZ, Summer of Code and eGovt Barcamp over the past 12 months and it seems that the message is still not getting through.

Why does it matter?

“We see a direct correlation between the speed of our services and our bottom line.

Our customers seem inclined to spend a set time on our site per session – the more pages they can few in that time, the more they see and buy, and the more we earn.”

– John MacDonald – CEO Trade Me 2007

Speed is very important in your customers experience. Its time that we maximise that experience.

Our Goal

We specialise in helping businesses build and run fast scalable systems.

What we do:

• Focus on helping businesses achieve their objectives – We help businesses tame your technology to meet your business objectives.

Maximise web & transactional throughput – We focus on maximising the speed of the system to increase customer engagement.

Analysis of web, database and hardware bottlenecks – We are experience at locating and isolating a wide variety bottlenecks

Minimise Technology footprint – We concentrate on getting the most of your existing hardware and technology.

• Provide cost-effective solutions – We work with our customers to find solutions for their budget.

Leverage the best technologies for best results – We use a range of open source and commercial technologies to achieve the objectives.

Research high performance technologies – We research and test a number of technologies to find the best solution for projects. We have spent a lot of time researching memory caching, Web proxies and high volume web delivery technologies.

We are:

• Experienced web, database and infrastructure specialists – We have over combined 20+ years of commercial experience in building and running technology.

Experienced in scaling modern websites – We have been involved in building scalable website that include the latest AJAX technology

Experienced in Unix and Windows – We have strong commercial experience over all flavours of Unix and Windows.

Vendor neutral – We are focused on finding a solution, and will utilise existing technology to meet those needs.

Our Experience:

Our the past 10 years, we helped a number of websites perform and scale to meet their customers needs

  • ProjectX
  • Trade Me
  • Bidorbuy.com / Baazee.com (now eBay India)
  • Fatsa.gr
  • QXL.com

http://www.canakkaleruhu.org http://www.vergimevzuati.org http://www.finansaldenetci.com http://www.securityweb.org http://www.siyamiozkan.org http://www.fatmaozkan.com http://www.sgk.biz.tr http://www.denetci.gen.tr http://www.bagimsizdenetim.biz.tr http://www.mevzuat.biz.tr http://www.security.biz.tr http://www.sorgulatr.com http://www.kanunlar.biz http://www.prsorgu.net http://www.sirabul.com http://www.emekliol.org http://www.coklupagerank.com http://www.coklupagerank.net http://www.coklupagerank.org http://www.prsorgu.org http://www.scriptencode.com http://www.sirabul.net http://www.sirabul.org http://www.sitenizanaliz.com http://www.seoisko.com http://www.seomavi.com http://www.scriptencode.net http://www.scriptencode.org