Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home > News > Webmaster > Web resources

May 29th, 2009, 14:51 GMT · By

Reduce the Time It Takes Your Site to Load with YSlow

SHARE:

Adjust text size:


Tips to optimizing load times with YSlow
Enlarge picture
Having a site that loads fast is very important as users don't like to wait while your site is loading and might just as well go somewhere else. But the first step in optimizing your site is finding out how long it takes to load, and a very useful tool for this is the Firefox
add-on Yslow, created by Yahoo to help web developers.

The first step is getting the add-on from here and installing it. After you restart your browser you will notice a small icon in the lower right corner of your browser. Click on it and press run YSlow. The next time you load a web page a number will appear next to the icon representing the time it took to load that page in seconds. That in itself isn't very useful unless you have the web development tool FireBug.

In FireBug, under the performance tab, you will now see YSlow tab. Clicking on it will bring up a detailed list of things that might slow your site, an overall performance grade as well as grades for each category. The items are listed in order of importance.

The most important one is 'Make Fewer HTTP Requests'. HTTP requests are performed every time a page needs a file from the server. These can be either CSS files, scripts, images or others. There are various ways of optimizing HTTP requests and this should be the first thing you should look at. The next item is 'Use a CDN', content delivery network, but these are very expensive and are meant for large sites. The third item on the list is 'Add an Expires Header'. This helps load times by caching redundant files locally so they only download once.

There are many more steps that you can take to optimize the load times of your site but these are the most important.

TELL US WHAT YOU THINK:

1,984 hits · 1 comment · Link to this article · Print article · Send to friend · Subscribe to news

MUST-READ RELATED ARTICLES:


Symantec Designs Tutorial For Parents

Google Tutorial to Develop Gadgets

More User-Generated Content on Google Earth

Krugle Code Search Engine Out of Beta

SearchCloud Engine Uses Weighted Words

READER COMMENTS:


Comment #1 by: eric on 29 May 2009, 20:31 UTC reply to this comment

Thanks for writing an article about this great tool! The tool is very easy to use and understand, and there are help links next to each item explaining what it is, so that even novice developers can easily understand it.

Thanks!

Copyright © 2001-2012 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM