4 ms·
jasonkester: in jQuery 1.4.3 a lot of work was done to make jQuery more modular. So you could take the peices of the library that you want and leave out the re
by RedWolves 16y ago
jasonkester: in jQuery 1.4.3 a lot of work was done to make jQuery more modular. So you could take the peices of the library that you want and leave out the rest (i.e. effects).
This isn't the recommendation of the jQuery Team but if you feel the library is getting too bloated you now have the option to cherry pick only the options of jQuery you'd like to use.
Read the blog post here http://blog.jquery.com/2010/10/16/jquery-143-released/ http://blog.jquery.com/2010/10/16/jquery-143-released/
Also we discussed it on the jQuery 1.4.3 episode of the jQuery Podcast http://podcast.jquery.com/2010/10/29/episode-38-jquery-1-4-3/ http://podcast.jquery.com/2010/10/29/episode-38-jquery-1-4-3...
- keltex 16y agoIt's true, but many people pull all of jquery off google's CDN.
- dmethvin 16y agoExactly, which makes the size of the file much less critical. It's likely to already be cached on the drive by some previous page, even from another domain. Slicing jQuery core into subset files that are dynamically loaded and other such techniques are unlikely to make things better.
- joechung 16y agoUnless you're on a device, like an iPad or iPhone 3.2, that won't cache jQuery because of its size.