Web Design/Testing Website performance

From Wikiversity
Jump to navigation Jump to search
Web Design Testing Website performance
This page is part of the Web Design project.

This activity will introduce the basic concepts of website performance testing. You will be creating a performance testing plan (based on the Website Performance Test Plan Template) that can be used immediately, as well as on an ongoing basis to monitor the performance of your website.

Planning[edit | edit source]

Early on during your client project, you will want to establish your performance criteria that will be used for testing your site. This will include a variety of both technical and business factors as described below.

Website goals[edit | edit source]

Review the agreed goals for your website with your client and translate these into measurable statistics that can be tested (ideally the goals should be measurable already).

Some examples might be:

  • a certain number of unique visits per day/week.
  • a certain number of requests for more information or quotes for a simple site's contact form.
  • a percentage reduction in telephone enquiries over a 6 month period.
  • a certain number of registrations over a 6 month period,
  • growth in products sold over a 6 month period.
  • growth in advertising revenue from website over a 12month period.

To be able to measure some of these stats, you will need to monitor your website traffic. This can be done with many free tools such as Google Analytics or SiteMeter. Often your web hosting will provide statistical tools too, but they may not be as easy to use.

To get an idea of how larger companies use these statistics, browse through some of the Google Analytics Case Studies.

Page sizes/Download times[edit | edit source]

Testing the download times for all pages within the site, but especially the landing page. Example criteria could include:

  • Each page must be below 60kb, or
  • All background images below 20kb, or
  • Page download time on a 256/64 connection must be less than 1.5 seconds.

Tools such as YSlow (Firefox plugin) or online performance testing tools can provide a useful overview of current settings and suggest improvements


Link checking[edit | edit source]

Ensuring that all links on your pages are valid. There are automated tools to do this for you, but it still needs to be included in your performance testing plan.

Validity/Accessibility[edit | edit source]

Example criteria:

  • All pages are validated as XHTML 1.0 Strict
  • All pages meet Conformance level of website (A, AA, AAA).

Search Engine optimization[edit | edit source]

Pre-launch SEO:

Post-launch SEO:

  • Monitoring search terms used to find the website and providing a monthly summary.


To Link or not to Link: website Linking

Given the fact that the formula for PageRank (see definition below) is PR(a) = (1-d) + [ PR(T1) / C(T1) + … + PR(Tn) / C(Tn) ], the more outbound external links your sites has the higher the divider -- C(T1), resulting in a lower page rank, unless you have overwhelming inbound links or links from other sites to yours.

However, it is good practice to internal link or crosslink within your site. Make sure these links are relevant links from one subject to another related subjects. For example, link the Fruit Page to the Apple and Orange Pages. Do not link Food Page to the Text Book Page. This is considered non-related linking, which is a bad, bad thing since Google is all about relevance or so the theory states.

Lets talk about external or outbound linking. They are good too, but keep in mind the more links you have out to another site the lower your PageRank is. Do the math. The higher the denominator the smaller the page rank value. But then who care, PageRank is only a multiplier of the Relevance-Ranking Algorithm right;-) If all other things are right, then what is it in a multiplier. Only link to the top 10 or less sites that has to do with those Keywords you want your own site to pop-up when a user types it into the search bar. So link to the top sites that has to do with those keywords (hopefully not a competiors) and make sure that site you are linking to is at the top of the PageRank list. Use Google Directory [1] to find out who is at the top of the list.


What is PageRank

Page Rank is the “sum of the PageRanks of all pages that link to it (its incoming links), divided by the number of links on each of those pages (its outgoing links) (Rael Dornfest—“Google Hacks, 3rd Ed) In depth book on how the back-end of Google technology works.

Usability[edit | edit source]

Usability testing is a subject on its own and is not included in the scope of this activity.

Creating your Performance test plan[edit | edit source]

Use the Website Performance Test Plan Template to create a test plan for your own client site.

Executing your testing[edit | edit source]

Once you have agreed on your performance testing plan with your client (this includes documenting the plan and obtaining sign-off) you can begin testing your site and documenting the results.

External Links[edit | edit source]