While we're on the subject.
In IE4, it sends out Accept-Encoding: gzip both for
html and javascript requests.
However,
it will not understand any compressed javascript files
until it has first loaded a compressed html file.
Once it has loaded a compressed html file, it can then
successfully load a non-compressed html file that
references a compressed javascript file.
Clear as mud?
-P
> -----Original Message-----
> From: Paul G. Weiss
> Sent: Thursday, November 30, 2000 3:22 PM
> To: 'Matt Sergeant'; Geoffrey Young
> Cc: 'Nigel Hamilton'; mod_perl list
> Subject: RE: More Speed -> mod_perl Module for HTML Compression
>
>
> Actually its both then. I've had to hack up mod_gzip to
> not send compressed data if the following is true:
>
> 1. The browser is Netscape
> 2. The URL is a javascript file (ends in .js).
>
> Netscape sends Accept-Encoding: gzip for javascript files
> and then doesn't know what to do with them.
>
> -Paul
>
>
> > -----Original Message-----
> > From: Matt Sergeant [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, November 30, 2000 2:33 PM
> > To: Geoffrey Young
> > Cc: 'Nigel Hamilton'; mod_perl list
> > Subject: RE: More Speed -> mod_perl Module for HTML Compression
> >
> >
> > On Thu, 30 Nov 2000, Geoffrey Young wrote:
> >
> > > there's mod_gzip, available from
> > > http://www.remotecommunications.com/apache/mod_gzip/
> > > which I've played with and looks pretty good
> > >
> > > or Apache::Compress, available from CPAN, which also works
> > rather nicely
> > > (and is Apache::Filter ready, so you can chain
> PerlHandlers into it)
> > >
> > > just beware that not all browsers that claim to accept gzip
> > compression
> > > actually do...
> >
> > No its the other way around. Not all browsers that can accept
> > gzip send
> > out Accept-Encoding: gzip. Notably early versions of IE4.
> >
> > --
> > <Matt/>
> >
> > /|| ** Director and CTO **
> > //|| ** AxKit.com Ltd ** ** XML Application Serving **
> > // || ** http://axkit.org ** ** XSLT, XPathScript, XSP **
> > // \\| // ** Personal Web Site: http://sergeant.org/ **
> > \\//
> > //\\
> > // \\
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]