In my post yesterday I talked about why it is important to optimize your website. This post will focus on how to do that.
The first tool I always like to suggest is this nice free Web Page Analyzer tool. Besides the free tool I would probably recommend the rest of the Web Site Optimization website. I remember when I first started working on websites years ago. I remember reading that your homepage should be no larger than 40KB in total size. This was when dial-ups were much more common, but that is a very low barrier, especially if your page is anything other than text.
I’ve also read that you can enable gzip compression for all web service requests and compress everything that comes from your web server as long as the user’s web browser supports gzip. I’ll be the first to admit this is actually a little beyond me and I’ll let someone else write the post on how to do that. I have learned that gzip compression can save between 73 and 85% on your bandwidth! Any takers?
So with that out of the way there are different types of optimization that you can do to a website, but I’m going to break it up into the following three categories
I won’t go into too much detail on how to do this because I wrote a great post two years ago with the details on web graphic optimization. What I will say is this is a huge area of savings that many people do not utilize.
Google Speed Tools - Before getting into a few specific tools that I found you should definitely check out the list of tools and resources Google has put together it their hope to speed up the web.
CSSOptimiser.com – This free web tool will optimize a file or code that you copy and paste into it.
HTML & CSS Validation Tools
Another important aspect of good clean web living is making sure that your code doesn’t have errors in it and renders properly. These two tools are both standard in the Web Developer Toolbar for Firefox (just look under the Tools tab as the picture to the right shows).
W3C HTML Validation Service
W3C CSS Validation Service
Valid code might not provide as much speed benefits as compressed files, but it will most definitely affect the user experience. Valid code will render in any web browser, and it ensures a good user experience. Also, it hasn’t been proven that this has an effect on web crawlers’ ability to index a website, so I can’t see how it would hurt anything.
So why not try to keep your website as spotless and clean as possible? What tools do you use that I’ve left out? Do you have any other tips that people should look towards in their pursuit of good clean web living?