Re: Big pages and gzip
On Sat, 10 Jun 2000, Ken Williams wrote: > Darn. Or perhaps: cool. Is it possible for me to usurp this module? > The Apache::Gzip module I've been working on has the same goals and same > purpose as the one in the eagle, but a bit of a different interface and > a very different implementation inside. It's reasonable that if the > only thing changing is the interface (can I say that with a straight > face?), the module could be kept the same. Doug, what do you think? > > I assume it would be a bad idea to have two modules, an Apache::GZip > (from the book) and an Apache::Gzip (on CPAN). Or might that be okay, > if notes were added to the docs for each? how about calling it Apache::GZipStream ? you can borrow whatever you like from the book example.
Re: Big pages and gzip
[EMAIL PROTECTED] (Doug MacEachern) wrote: >On Wed, 7 Jun 2000, Ken Williams wrote: > >> [EMAIL PROTECTED] (Stas Bekman) wrote: >> >> >On Wed, 7 Jun 2000, Mark Hewis wrote: >> > >> >> it would seem to be quite straight forward to implement a handler >> >> to gzip all output html files depending on the allowed mime-types >> >> and/or user_agent. This would reduce many pages by up to a factor >> >> of 10 in size. >> >> >> >> 1) Is anyone already doing? >> >> 2) If not why not? >> >> 3) what borwsers would accept html files in a gzipped format >> > >> >it's there for a long time: >> >Apache::Gzip >> >Apache::GzipChain >> >> Actually, as far as I know there's no Apache::Gzip. > >close, there is an Apache::GZip in the eagle book and code available >modperl.com Darn. Or perhaps: cool. Is it possible for me to usurp this module? The Apache::Gzip module I've been working on has the same goals and same purpose as the one in the eagle, but a bit of a different interface and a very different implementation inside. It's reasonable that if the only thing changing is the interface (can I say that with a straight face?), the module could be kept the same. Doug, what do you think? I assume it would be a bad idea to have two modules, an Apache::GZip (from the book) and an Apache::Gzip (on CPAN). Or might that be okay, if notes were added to the docs for each? -Ken
Re: Big pages and gzip
On Wed, 7 Jun 2000, Ken Williams wrote: > [EMAIL PROTECTED] (Stas Bekman) wrote: > > >On Wed, 7 Jun 2000, Mark Hewis wrote: > > > >> it would seem to be quite straight forward to implement a handler to gzip > >> all output html files depending on the allowed mime-types and/or user_agent. > >> This would reduce many pages by up to a factor of 10 in size. > >> > >> 1) Is anyone already doing? > >> 2) If not why not? > >> 3) what borwsers would accept html files in a gzipped format > > > >it's there for a long time: > >Apache::Gzip > >Apache::GzipChain > > Actually, as far as I know there's no Apache::Gzip. close, there is an Apache::GZip in the eagle book and code available modperl.com
Re: Big pages and gzip
On Wed, 7 Jun 2000, Ken Williams wrote: > [EMAIL PROTECTED] (Stas Bekman) wrote: > > >On Wed, 7 Jun 2000, Mark Hewis wrote: > > > >> it would seem to be quite straight forward to implement a handler to gzip > >> all output html files depending on the allowed mime-types and/or user_agent. > >> This would reduce many pages by up to a factor of 10 in size. > >> > >> 1) Is anyone already doing? > >> 2) If not why not? > >> 3) what borwsers would accept html files in a gzipped format > > > >it's there for a long time: > >Apache::Gzip > >Apache::GzipChain > > Actually, as far as I know there's no Apache::Gzip. But that's a lie > too - I've been harboring a new Apache::Gzip that seems to work, and > plays well with Apache::Filter too. As if you couldn't guess that based > on my other modules. =) Ouch, that's the module I was refering to. I thought you are going to release it :) it worked for me... > I think I'll have a version of Apache::Gzip up on CPAN within a couple > of days. Eager-worts can look at > http://mathforum.com/~ken/modules/Apache-Gzip/ in the meantime. > > > ------ > Ken Williams Last Bastion of Euclidity > [EMAIL PROTECTED]The Math Forum > > > _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://perl.org http://stason.org/TULARC http://singlesheaven.com http://perlmonth.com http://sourcegarden.org
Re: Big pages and gzip
[EMAIL PROTECTED] (Stas Bekman) wrote: >On Wed, 7 Jun 2000, Mark Hewis wrote: > >> it would seem to be quite straight forward to implement a handler to gzip >> all output html files depending on the allowed mime-types and/or user_agent. >> This would reduce many pages by up to a factor of 10 in size. >> >> 1) Is anyone already doing? >> 2) If not why not? >> 3) what borwsers would accept html files in a gzipped format > >it's there for a long time: >Apache::Gzip >Apache::GzipChain Actually, as far as I know there's no Apache::Gzip. But that's a lie too - I've been harboring a new Apache::Gzip that seems to work, and plays well with Apache::Filter too. As if you couldn't guess that based on my other modules. =) I think I'll have a version of Apache::Gzip up on CPAN within a couple of days. Eager-worts can look at http://mathforum.com/~ken/modules/Apache-Gzip/ in the meantime. ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum
Re: Big pages and gzip
On Wed, 7 Jun 2000, Mark Hewis wrote: > it would seem to be quite straight forward to implement a handler to gzip > all output html files depending on the allowed mime-types and/or user_agent. > This would reduce many pages by up to a factor of 10 in size. > > 1) Is anyone already doing? > 2) If not why not? > 3) what borwsers would accept html files in a gzipped format it's there for a long time: Apache::Gzip Apache::GzipChain It's based on the Accept-Encoding =~ /gzip/ match, and some use User-Agent but the first one should be enough. (The second is used to discard agents that known not to handle GZIP while they claim that they can) For more info see the guide and modules' respective manpages. > Thanks > > Mark > > This e-mail, and any attachment, is confidential. If you have received it in error, >please delete it from your system, do not use or disclose the information in any way, >and notify me immediately. The contents of this message may contain personal views >which are not the views of the BBC, unless specifically stated. > _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://perl.org http://stason.org/TULARC http://singlesheaven.com http://perlmonth.com http://sourcegarden.org
Big pages and gzip
it would seem to be quite straight forward to implement a handler to gzip all output html files depending on the allowed mime-types and/or user_agent. This would reduce many pages by up to a factor of 10 in size. 1) Is anyone already doing? 2) If not why not? 3) what borwsers would accept html files in a gzipped format Thanks Mark This e-mail, and any attachment, is confidential. If you have received it in error, please delete it from your system, do not use or disclose the information in any way, and notify me immediately. The contents of this message may contain personal views which are not the views of the BBC, unless specifically stated.