Andrew McCombe

Full Stack Web Developer

Formula One Website Performance: The fastest team Is…

Formula one is the pinnacle of motorport. We know the cars are fast and the pace of development is relentless, but when it comes to performance how do the teams websites compare?

Gzip javascript and css with NGinx

Nginx by default will only compress text/html content types. Heres how to gzip javascript and css with NGinx: In your nginx.conf file: … http { include /etc/nginx/mime.types; access_log /var/log/nginx/access.log; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; tcp_nodelay on; gzip on; gzip_disable “MSIE [1-6]\.(?!.*SV1)”; gzip_types application/x-javascript text/css; include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*; } …. Or in […]

Speed testing your website with Siege: Part two

Speed testing your website: part two Speed testing more than one url If you need to test more than one URL then you will need to tell Siege to use a file to load the URL’s from. Simply create a text file called urls.txt and add each URL you want to test on a separate […]

Speed testing your website with Siege: Part One

As a website owner your website performance is crucial to your business. You would expect your website to be able to cope with thousands of visits per minute but unless you’ve prepared for it by purchasing quality hosting services and tuning the servers there is a good change that your website won’t cope with a […]

Tutorial: Setting up Varnish with Apache.

Varnish is an HTTP accelerator designed for content-heavy dynamic web sites. In contrast to other HTTP accelerators, such as Squid, which began life as a client-side cache, or Apache, which is primarily an origin server, Varnish was designed from the ground up as an HTTP accelerator. Here’s how to set up varnish with Apache. Tested […]