O'Reilly logo

jQuery 1.3 with PHP by Kae Verens

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

Optimizing jQuery

When writing jQuery code, there are a number of things you can do to get better response times from the client.

These tips are useful when you are doing heavy scripting on the client. If you use jQuery only for minor manipulations, then the user will probably not notice the difference, so these can probably be better considered "best practices" than essential time savers.

However, if you train yourself to always follow these tips, then your web page will run just about as fast as it can, and will probably not need to be improved.

Use Google's CDN

Every new release of jQuery is better and faster than the version before it. When you are starting a new project, you should always check to see if there is a new version available.

A way ...

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