[jQuery] Re: Packing jQuery and all includes

2008-02-01 Thread [EMAIL PROTECTED]
I think I read in the Wiki that you can just append the plugins? Haven't tried it yet, though. Vlad Mazek wrote: > I use seven different jQuery plugins in my webapp and during page refreshes > the loading bar jumps around quite a bit making people feel like the site is > slow because they see the

[jQuery] Re: Packing jQuery and all includes

2008-02-01 Thread Ariel Flesler
You should be able to join jQuery and it's friends into one file and pack, the problem is that, if one fails the packing, it will break everything. Not all plugins are prepared to be packed. You can also concatenate into one file, but packing (or not) each one before joining. Also, some plugins br

[jQuery] Re: Packing jQuery and all includes

2008-02-01 Thread polyrhythmic
I like serving up all my CSS and JS at once in gZipped HTML with PHP includes via Minify (http://code.google.com/p/minify/). This is very quick, due to a single HTTP request, but does not cache the JS or CSS separately, if you need to do that across pages. However, you can have Minify crush just