---
title: lesterchan.net v4.1
date: 2013-09-30 09:35:53
permalink: https://lesterchan.net/blog/2013/09/30/lesterchan-net-v4-1/
author: Lester Chan
categories:
  - Site
tags:
  - "4.1"
  - Bootstrap
  - lesterchan.net
---

Been almost [9 months](https://lesterchan.net/blog/2013/01/02/lesterchan-net-v4-0/) since I did an upgrade to this site, so I guess it is time for me to post a site update. Most of it is about optimising the site so that it performs faster and better.

This site now has a performance score of **90 out of 100** for [Pingdom’s Website Speed Test](http://tools.pingdom.com/fpt/)!

![lesterchan.net Pingdom Website Speed Test Results](https://farm4.staticflickr.com/3689/9947974983_cfb995ca9d_o.png)

## Bootstrap 3.0

One of the most tedious but hardly noticeable task was to upgrade [Bootstrap 2.3.2](http://getbootstrap.com/2.3.2/) to [Bootstrap 3.0](http://getbootstrap.com/). ## Search Autocomplete

Added search autocomplete for the search form at the top, powered by [Twitter typeahead.js](https://github.com/twitter/typeahead.js). ![lesterchan.net Autocomplete](https://farm6.staticflickr.com/5482/9947757304_532afa83e0_c.jpg)

## CDN

My host, [Vodien](http://www.vodien.com/), just became a reseller of [EdgeCast](http://www.edgecast.com/) which is also a CDN and hence I will be using it side-by-side with [MaxCDN](http://www.maxcdn.com/). I am randomising it right now between the two. I also just bought a new domain name lcstatic.net and I will be using it as the CDN domain. The reason for a new domain name is because of [Cookie-free Domains](http://developer.yahoo.com/performance/rules.html#cookie_free).

> When the browser makes a request for a static image and sends cookies together with the request, the server doesn’t have any use for those cookies. So they only create network traffic for no good reason. You should make sure static components are requested with cookie-free requests. Create a subdomain and host all your static components there.

Something not visible but related to static assets, copied [HTML5 Boilerplate’s .htaccess](https://github.com/h5bp/html5-boilerplate/blob/master/.htaccess) over to my own for better headers on static assets.

I also added [DNS prefetch headers](https://developer.mozilla.org/en/docs/Controlling_DNS_prefetching) to the site’s header HTML for almost all the static URLS that I used.

## status.lesterchan.net

I am now using [Pingdom](https://www.pingdom.com/) instead of WatchMouse for Public Status Page. You can check the status of lesterchan.net at [status.lesterchan.net](http://status.lesterchan.net) or via [@lcstatus](https://twitter.com/lcstatus) on Twitter. ## Changelog

Added a new page called, [lesterchan.net’s Changelog](https://lesterchan.net/site/changelog/), which displays the commits I made to the Bitbucket repository of this site. 