Alex -

I briefly went through jQuery and removed some of the unused parts (as
it relates to SimpleModal). I was able to get it down to just under
75k, 42k minified (which is about 12k less that the non-modified
version). I can't make any guarantees, but if you'd like to try the
slimmed down version, just send me an email.

I don't really see how 55k would really "cripple" your load times -
especially if you are loading the scripts near the bottom of your
page. In addition, if you are using compression, you should hardly
notice the loading time for the script(s).

-Eric


On Sep 17, 1:20 am, Alex Weber <[EMAIL PROTECTED]> wrote:
> and no i dont mean packing or minifying! :)
>
> basically all i need is 1 plugin (simplemodal) and because of that i'm
> forced to load the entire jquery library, which is crippling load
> times...
>
> we use jquery extensively in our website but we have banners in other
> sites that open a simplemodal (lightboxish) dialog and as far as the
> banners are concerned since its many sites and many different viewers
> we can't really count on caching to help either...
>
> so here's my question, is it possible to strip-down the original
> jquery source code *just* for the banner modal?
> i guess it could be a kind of trial and error thing, but i'm wondering
> how interconnected the seperate parts of the library are and whether i
> should even spend any time on this...
>
> although it seems silly to have to load almost 50kb of additional JS
> when all i want is a 5Kb plugin :)
>
> thanks!
>
> -Alex

Reply via email to