Forum Moderators: open

Message Too Old, No Replies

Optimizing Jquery and plugins

         

mr_nabo

12:40 pm on Nov 21, 2008 (gmt 0)

10+ Year Member



Hi,

I love Jquery and try not to go overboard with it, but am wondering whether there's a lightweight way of including it instead of including up the 100kb or so library everytime?

For example, I want to use a plugin which requires JQuery, but using it adds around 120kb to my site because the plugin is around 20kb and JQuery 100kb!

Is there a standard procedure of including reduced versions of these kinds of things in your websites?

Thanks for any advice

[edited by: phranque at 2:12 pm (utc) on Nov. 21, 2008]
[edit reason] No urls, please. See TOS [webmasterworld.com] [/edit]

mr_nabo

2:11 pm on Nov 25, 2008 (gmt 0)

10+ Year Member



Hi,

Is this an active part of Webmasterworld or would it be better to post this elsewhere to get some help? Other areas seem to be quite busy with comments...

Thanks

astupidname

9:42 pm on Nov 25, 2008 (gmt 0)

10+ Year Member



On the download page for jquery it is available minified or packed at 54.5kb or 30.3 kb so you don't have to send the uncompressed (97.8kb) version over the wire.