On Oct 23, 6:01 pm, Bil Corry <[EMAIL PROTECTED]> wrote:
> Eli wrote on 10/23/2007 10:54 AM:
>
> > I've noticed that on the front page of jQuery.com there is a new
> > version for download, the minified and gzipped one.
> > now it says that it weighs 14k, while ont he google download page, it
> > says 46k.
> > downloaded, and indeed, it's a 46k js file.
> > what gives?
>
> > where is the minifieing & gzipping coming in?
>
> It's a 46k minified file.  To get the 14k size, you have to serve it via a 
> web server that has gzip compression enabled AND the browser must be able to 
> accept gzip compression.  If the browser can't accept gzip compression, or if 
> your web server can't serve it using gzip compression, then it's 46k for the 
> browser.
>
> - Bil

So basically all I need is to put the minified file on my server as
usual,
and those that have gzip enabled (all modern browser support gzip,
right?) will get a 14k file instead of the 46k?

Do I have to do any special adjustments to my apache 2 server to
support gzip?

Eli

Reply via email to