Wednesday, September 2, 2009

21 Scripts and Tips to Decrease Website Server Load

21 Scripts and Tips to Decrease Website Server Load

Rating: 4 / 5

Once you have your website established and running properly it may be time to take a look at your server load and loading times. Over time, websites can start to get bogged down with large images, multiple pieces of Javascript, and hefty CSS files. All of these can contribute to a website that is less than optimized and may run slower and become irritating to the end user. Today, we will have a look at 21 great scripts, tips, and tools you can use to decrease your website's server load.

1. Use YSlow for Firebug

YSlow for Firebug

YSlow is a Firefox add-on that integrates into the firebug web development tool. YSlow grades website performance and download speeds based on a set of rules set by Yahoo Developer team for optimized web sites. YSlow can show you exactly how many resources and downloading times are required for your site, as well as providing tips on how to improve this.

2. Use Smush.it for your images

Smush.it

Smushit.com is a service that goes beyond the limitations of Photoshop, Fireworks & Co. It uses image format specific non-lossy image optimization tools to squeeze the last bytes out of your images - without changing their look or visual quality. You'll get a report of how many bytes you can save by optimizing your images and all the changed images as a single zip for download.

You can use Smush.it as a Firefox add-on, or you can simply go to their site and use the uploader that is provided. Smush.it is a must have plugin if you are a blogger or frequently use images on your website. Rest assured, no quality is lost when decreasing the size.

3. Move your Javascript files to the bottom of your page

Though this isn't always possible to do, it is a good idea to do so if you can. When a browser goes to download CSS, scripts, and images from your site, it usually has a maximum amount of information it can stream at once. By placing the scripts at the bottom of our page, we can allow the essentials to load first and then load the scripts at the end.

4. Compress your Javascript

No comments:

Post a Comment