The Beauty Of Speed

While perusing the excellent Website Analyzer tool to check loading speeds, and filesizes of certain elements, I saw that this site could use some optimization, even though I tried to keep everything to a minimum (images, CSS, etc.) Then I remember you can gzip pages server-side, and serve it to visitors compressed, thus increasing speeds by up to 2 times.

To which this useful tool come into play. It lets you know if your site is compressed using gzip, and if not, what benefits you’ll receive if enabled. So I went looking around, and found that if I put this at the top of my documents, it’ll enable the PHP module, zlib, for compression of that particular page:

<?php ob_start("ob_gzhandler"); ?>

Which is a good idea if you have a php-based script that already has it’s own compression technique (phpBB comes to mind), or if you want to compress individual pages of your choosing.

Additionally if you just want to globally compress your whole site, then you can use a .htaccess file and put in this command to force a switch on the server everytime your site is accessed:

php_flag zlib.output_compression On

The above code I put on my other site, 3DGPU, since it’s a lot bigger, and for some reason the CMS we’re using, Xoops 2, doesn’t enable gzip support when we tell it to. I had just assumed it worked, and found out yesterday it doesn’t, so I put in the .htaccess file with the command above, and voila; 65kb HTML compressed to 17.5kb. A 99% compression ratio! GB! went from 40kb to 8kb, a 77% compression ratio. Now both GoodBlimey.com and 3DGPU.com loads up in a jiffy.


Blogosphere.us Reworked

Over at blogosphere.us, the site has been updated with word on a new reworking of the site, with new features, and trends. It also allows quick access to what the collective voice of bloggers have to say each day. From blogosphere.us:

Have you ever wondered what the collective voices of a few hundred thousand people might say? This Web site collects links from weblogs all over the world to discover just what it is people everywhere are talking about.

A great resource to find what’s interesting out there in the blogosphere. I also enjoy Blizg as well.


LockerGnome Redesigned

LockerGnome has been redesigned, and it is incredibly sexy. Using valid XHTML and CSS code, it loads up quick, and the interface is easy to use and follow. I’m hoping more large sites start noticing sites like LockerGnome and realizing they want some of that efficient goodness. The people responsible are Chance and Jason, as well as Chris who runs LG. Good job guys!


Nosferatu Rapture

Over at my robot friend, you’ll find a nifty Flash that covers a Blondie song called Rapture. It’s pretty neat to watch, and worthy of breakdancing to.

In other Halloween news, it seems we almost lost the classic horror film, Nosferatu, due to copyrights. This is one case where you can be thankful for pirates. One only wonders what gems will pop up in the future due to pirates. Or instead of being a Scrooge, why not release your works under the Creative Commons license? The world would be a better place if more people use it. :)