[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-15 Thread Joan Piedra
Yes, I agree with Karl. You can talk with your tech support and see if you have mod_deflate enabled, it's just too easy. You can check if your server supports it by using phpinfo() (if using php). Look for the http accept encoding statment, and you should see gzip or deflate, or both. Like this.

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Stephan Beal
On Sep 14, 4:30 pm, seedy [EMAIL PROTECTED] wrote: I also had the same thing happen. 14kb is only after it has been gzipped by your server. The version you are downloading has been minified, Its up to you to do the gzipping. This is correct. The webmaster/developers/whoever chose to be a bit

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread seedy
I also had the same thing happen. 14kb is only after it has been gzipped by your server. The version you are downloading has been minified, Its up to you to do the gzipping. lukwe wrote: When I go to the GoogleCode page for the minified version it idsplays a 46 kb file to download;

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Rey Bango
Hi Stephan, I think underhanded is a little harsh and I'm not sure John Resig, who is the one who put that up there, was attempting to do anything wrong. Also, we're not trying to be marketing people as you so incorrectly described the folks on this project. We're trying to provide the

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Glen Lipka
I just recently decided to figure out how to gzip my own JS files. This might not be the best method, but I... 1. Renamed all the js files to be php instead. 2. Changed the links in my html to point to php instead of html. 3. At the top of each JS, I put ?php ob_start(ob_gzhandler); ?

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Chris W. Parker
On Friday, September 14, 2007 9:10 AM Glen Lipka said: Viola! All my JS files were significantly smaller. (check my site to see evidence) I prefer the cello. But that's just me. (See http://wsu.edu/~brians/errors/voila.html)

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Joan Piedra
I've found this to be the easiest and unobstrusive way to gzip my files with a .htaccess file. IfModule mod_headers.c IfModule mod_deflate.c # Compress some text file types AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript # Deactivate compression

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Glen Lipka
Where does that .htaccess file go? Just in the root? Or in every folder that has a page? Glen On 9/14/07, Joan Piedra [EMAIL PROTECTED] wrote: I've found this to be the easiest and unobstrusive way to gzip my files with a .htaccess file. IfModule mod_headers.c IfModule mod_deflate.c

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Stephan Beal
On Sep 14, 4:46 pm, Rey Bango [EMAIL PROTECTED] wrote: I think underhanded is a little harsh and I'm not sure John Resig, who is the one who put that up there, was attempting to do anything wrong. Perhaps misleading is a better term than underhanded, but only slighlty so. It would be poor form

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Brandon Aaron
Hmmm ... jQuery can still be packed and gzipping can be done in IIS without much effort. We are doing it for our .Net projects. -- Brandon Aaron On 9/14/07, Stephan Beal [EMAIL PROTECTED] wrote: On Sep 14, 4:46 pm, Rey Bango [EMAIL PROTECTED] wrote: I think underhanded is a little harsh and

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Jeffrey Kretz
to the file on the jquery home page. JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stephan Beal Sent: Friday, September 14, 2007 1:43 PM To: jQuery (English) Subject: [jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!? On Sep 14

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Glen Lipka
The original claim of 20k is based on a packed JS. Not Minified. On the home page, it is packed at 26k. So it increased 6k. I wouldn't call the Bloat Police too quickly. However, the POINT of gzipping is that you can deliver it smaller than 26k with a different strategy. Minified and Gzipped.

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Alexandre Plennevaux
minified, getting 46kb instead of 14kb ??!? On Sep 14, 4:46 pm, Rey Bango [EMAIL PROTECTED] wrote: I think underhanded is a little harsh and I'm not sure John Resig, who is the one who put that up there, was attempting to do anything wrong. Perhaps misleading is a better term than underhanded

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Rey Bango
Then we'll agree to disagree. And again, I'm truly surprised and completely disappointed by your continued assertion that there was an attempt to mislead anyone. If you felt there was disconnect in the way someone might interpret the link on the homepage, then making a suggestion would've

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Rey Bango
@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stephan Beal Sent: vendredi 14 septembre 2007 21:43 To: jQuery (English) Subject: [jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!? On Sep 14, 4:46 pm, Rey Bango [EMAIL PROTECTED] wrote: I think underhanded is a little harsh

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Theodore Ni
Unless you have other .htaccess files in your subdirectories which overwrite Joan's .htaccess rules, then I believe only one in the root folder should work. On 9/14/07, Glen Lipka [EMAIL PROTECTED] wrote: Where does that .htaccess file go? Just in the root? Or in every folder that has a

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Karl Swedberg
Joan, Thanks so much for this!! I just added the AddOutputFilterByType DEFLATE ... line to my .htaccess file a couple days ago, and wow! what a difference! But, I didn't know bout the whole Deactivate compression for buggy browsers part. I will drop that in my .htaccess file tonight.

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Glen Lipka
I tried Joans methdod with no luck. Couldn't get it to work. :( Glen On 9/14/07, Karl Swedberg [EMAIL PROTECTED] wrote: Joan, Thanks so much for this!! I just added the AddOutputFilterByType DEFLATE ... line to my .htaccess file a couple days ago, and wow! what a difference! But, I didn't

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Erik Beeson
I could understand this complaint if the 21kb packed link from the previous version were replaced with a 14kb min/gzip link, but that isn't the case. The 21kb packed link became a 26kb packed link, and a link to a minified version, which is ideal for gzipping, along with a link to a page

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Theodore Ni
I'm not going to enter this argument, but I do suggest that both gzipped and non-gzipped file sizes be present, because a download link should have the accurate download size. Otherwise, I agree that with the big gains gzipping provides (less than 1/3 file size!), the gzipped size should be

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Rey Bango
Thanks Theodore. I'll pass that along to John. Rey... Theodore Ni wrote: I'm not going to enter this argument, but I do suggest that both gzipped and non-gzipped file sizes be present, because a download link should have the accurate download size. Otherwise, I agree that with the big gains

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Alexandre Plennevaux
Bango Sent: vendredi 14 septembre 2007 22:20 To: jquery-en@googlegroups.com Subject: [jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!? Being called underhanded or saying that the team intentionally mislead people isn't something that I'm comfortable with. Rey... Alexandre

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Rey Bango
@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: vendredi 14 septembre 2007 22:20 To: jquery-en@googlegroups.com Subject: [jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!? Being called underhanded or saying that the team intentionally mislead people isn't

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Joan Piedra
Glen, just put that .htaccess in the webroot and should work pretty well, note that your server needs the deflate and headers modules to be enabled. Hope this can be useful to anyone :) On 9/14/07, Glen Lipka [EMAIL PROTECTED] wrote: Where does that .htaccess file go? Just in the root? Or in

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Glen Lipka
I did. Maybe they font have those modules enabled? How could I check? Glen On 9/14/07, Joan Piedra [EMAIL PROTECTED] wrote: Glen, just put that .htaccess in the webroot and should work pretty well, note that your server needs the deflate and headers modules to be enabled. Hope this can