Jeffrey said, "The server-side gzip code I used looks for IE6 SP1 to
determine whether or not it should gzip it. "

Can you please share the logic (if not the code)?

Thanks

On Jul 20, 12:02 am, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote:
> Actually, IE 6.0 SP1 has some issues with GZipping.  The problem is that it
> occasionally doesn't read the entire stream and is unable to properly unpack
> the file.
>
> It was fixed in IE 6.0 SP2.
>
> The server-side gzip code I used looks for IE6 SP1 to determine whether or
> not it should gzip it.
>
> JK
>
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Richard D. Worth
> Sent: Saturday, July 19, 2008 3:17 AM
> To: jquery-en@googlegroups.com
> Subject: [jQuery] Re: "Uncompressed", "Minified and Gzipped" and "Packed"
>
> On Sat, Jul 19, 2008 at 12:55 AM, fambi <[EMAIL PROTECTED]> wrote:
>
> 1. How is browser support for un-gzipping javascript (and css for that
> matter)? I heard, once upon a time, that there were issues... is that
> once upon a time?
>
> Modern browsers support gzip across the board. Even not-at-all modern
> browsers support it. IE4+, FF, Safari, Opera 5.12+. 
> Seehttp://www.http-compression.com/for more info. One bonus here is that the
> browser and server communicate about what they support, so there's never a
> concern that a server will send a g'zipped file and then the browser (that
> doesn't understand gzip) will choke on it. If someone out there is still
> using IE3, well... getting a non-gzipped version of jQuery will be the least
> of their concerns.
>
> - Richard
>
> 2. Also, Richard, what do you mean by "If you don't want to worry
> about *******correctly****** gzipping your source files"?
>
> Thanks
>
> On Jul 17, 5:05 pm, Richard W <[EMAIL PROTECTED]> wrote:> It is suggested you 
> used the "minified and gzipp'd" version, as the
> > packed version will require additional processing to unpack or
> > decompress it, as mentioned on the jQuery
>
> site:http://docs.jquery.com/Downloading_jQuery
>
>
>
> > If you don't want to worry about correctly gzipping your source files,
> > or if yo ur server does not have the ability, you can link directly to
> > google's minifed+gzipped source files.
> > EG:http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js@
> > 16.7K is not bad :)
>
> > On Jul 16, 6:31 pm, "Andy Matthews" <[EMAIL PROTECTED]> wrote:
>
> > > Thanks for clarifying Mika...please note Mika's comments.
>
> > > -----Original Message-----
> > > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
>
> > > Behalf Of Mika Tuupola
> > > Sent: Wednesday, July 16, 2008 11:59 AM
> > > To: jquery-en@googlegroups.com
> > > Subject: [jQuery] Re: "Uncompressed", "Minified and Gzipped" and
> "Packed"
>
> > > On Jul 16, 2008, at 7:48 PM, Andy Matthews wrote:
>
> > > > Packed takes the source code and runs it through an algorithmn which
> > > > compresses variable names, methods, code, etc into one big line of
> > > > javascript. You can find more information about it, and pack your own
> > > > code,
> > > > here:
> > > >http://dean.edwards.name/packer/
>
> > > > Minified uses server side compression to further reduce the file size.
> > > > Drawback of this method is that your server needs to be equipped to
> > > > offer this version, and the file needs to be de-compressed on the
> > > > client side.
>
> > > Minifying does not use server side compression. Minifying means removing
> all
> > > unnecessary characters from source code, without changing its
> functionality.
>
> > > Minified JavaScript files are usually further packed by gzipping them.
> > > This is done on the fly by server. Apache comes with mod_deflate module
> by
> > > default. This handles gzipping.
>
> > > Packed files have to be uncompressed on client side too. While gzipped
> files
> > > are uncompressed by browser natively, packed files are "uncompressed"
> > > calling JavaScript eval() everytime page loads.
>
> > > --
> > > Mika Tuupolahttp://www.appelsiini.net/

Reply via email to