O'Reilly logo

jQuery Tools UI Library by Alex Libby

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Performance of jQuery Tools

A key design facet of jQuery Tools, as outlined by Yahoo's five rules of best practice, is that designers should try to reduce the number of images, stylesheets, and scripts that have to be downloaded. Yahoo argues that this is the key to improving the speed of your site, as most of the time spent looking at a site is from the front-end. The five rules created by Yahoo!, and to which jQuery Tools adheres, are:

  1. Reduce the number of HTTP requests.
  2. Use a CDN link, for incorporating scripts into your code where possible.
  3. Add an expires header.
  4. GZIP components where possible.
  5. Minimize the JavaScript by compressing the code.

If you include the following script link in your code, you will be able to respect these five rules:

<script ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required