The council speedy indexish

Really, it started as me messing about with a Python script, the Google APIs and a list of council websites. After a little bit of trial and error and quite a bit of tweaking, I have the council speedy indexish thingy; and it says that East Sussex have the ‘fastest’ council website in the county.

The script uses the Google Pagespeed API, to get information on every council website, the scores and page sizes are then stored in a central table and who doesn’t like a league table?

Top 10 ‘fastest’ council websites 1st March 2014








































































#CouncilSiteScore
1East Sussexhttp://www.eastsussex.gov.uk92
2Southwarkhttp://www.southwark.gov.uk90
3North West Leicestershirehttp://www.nwleicsdc.gov.uk89
4Braintreehttp://www.braintree.gov.uk89
5Northamptonhttp://www.northampton.gov.uk89
6Shropshirehttp://www.shropshire.gov.uk88
7Southendhttp://www.southend.gov.uk88
8Selbyhttp://www.selby.gov.uk87
9West Dunbartonshirehttp://www.west-dunbarton.gov.uk87
10Pendlehttp://www.pendle.gov.uk87

* where the score is equal, the sites are ranked by total bytes size

What this means

The reality is these results don’t tell you that any one website is faster than another. Google PageSpeed actually measures how much potential improvement there is for a website.

PageSpeed uses a series of measure focusing on how long a page takes to appear to the user, that includes server response times, download size and how long the page takes to render. These give you a good indicator of how ‘fast’ as website appears when someone requests it, and more importantly the Insight tool tells you what is slowing down that user experience.

Speed of course isn’t the only (or even main) concern people have with a website. In reality the speed a website loads is a hygiene factor, you only really notice it if it’s slow, but also it doesn’t actually take that long to fix some basic things to make your site load quicker, and Google’s PageSpeed tools are an easy place to start.

Google PageSpeed Tools

The Google PageSpeed tools are a family of tools designed to help you optimise your website, at the root of the tools is the PageSpeed insight tool which will analyse your site and give you a series of recommendations on how to improve page speed. This is more than looking at server response time and file size. It looks at things like file compression, styles and scripts that might block the page from actually being rendered. with a few simple tweaks you can improve a sites page speed score, and hence make it appear a lot quicker for users.

All the data

When we run the script it produces a nice big spreadsheet, if you want to see the data then that’s the place to look.

All the data - speedy check march 2014

Notes about the results:

Welsh sites: If you run against the root of all sites, then a lot of the Welsh sites score really high, but that is because most of them have a splash page asking the user to choose the English or Welsh version of the site, for fairness, I have tested Welsh sites against the English homepage not the splash page.

Open source everything: At Jumoo, we open source everything, so even though the python script is a bit of an abomination, you can go to github and see for yourself what we have done to reach these results.