Thanks Billy, I wasn't aware of that!

While we're on the subject I have another question:

Currently what I'm doing is:

1) Call function 1, checks for jQuery and if not then loads the
library and recursively checks until its available.
2) Once its available, a second function is called and does the same
thing to load a plugin
3) Ditto for my custom .js file

I don't like this because of the excessive opening and closing of
connections required... is combining libraries + custom code into 1
file a terrible pratice?
Any other decent way to get by this step-by-step rudimentary approach?

Thanks again!
-Alex

On Aug 29, 3:04 pm, Bil Corry <[EMAIL PROTECTED]> wrote:
> Alex Weber wrote on 8/29/2008 10:15 AM:
>
> > i'd rather use packed then minified though :)
>
> Use minified, not packed.  Although a packed file is smaller, it's overall 
> performance is worse when compared to minified:
>
> -----
> This means, in the end, that using a minifed version of the code is much 
> faster than the packed one - even though its file size is quite larger.
>
> <http://ejohn.org/blog/library-loading-speed/>
> -----
>
> - Bil

Reply via email to