Archive for the ‘Webmaster Things’ Category

ATTN Big Media: Web page speed matters!

Sunday, July 4th, 2010

I am not a front-end kinda guy, but these days my latest obsession is to test and improve web page loading times. With this blogpost, I intend to show with examples of some selected websites and what are they doing right and what *desperately* needs to be improved. As I ...

In a CDN’d world, OpenDNS is the enemy!

Tuesday, May 18th, 2010

While many people are happy with using DNS service providers such as OpenDNS, Google, etc... I will show you here why they may not produce optimal results. The way most CDNs work is by using DNS routing. When a user attempts to resolve a hostname, the CDN's DNS server responds with ...

Simple command to “watch” the webserver access log

Friday, April 2nd, 2010

I am often curious as to what bots are going on my site at any given moment. So much so that I devote one terminal tab to running this script. save the following as say bot.sh and make it executable :- #!/bin/bash watch "grep $1 /path/to/access.log | tail -15" note: the number after tail ...

Future releases of Firefox to speed page load time considerably?

Wednesday, January 20th, 2010

Living in Thailand has its fair share of disadvantages. The most prominent being bad internet and poor response times. In most cases, the packet shaping, caching and filtering mechanisms use by ISPs do more harm than good. A response from a US server may take anywhere between 100 to 1000 ...

Python script to detect bad bots/people faking as Googlebot

Saturday, March 28th, 2009

A script for analyzing my webservers access.log is long overdue here is a small start. Just recently I noticed a bad bot was attempting to scrape whole of my site using Googlebot's useragent. Since im learning python, I thought it might be a nice experience to write a simple script ...