I don't use the regex handler all that often, but I thought it might come in
handy for this type of thing.

of course, reducing real-time overhead is always prefered.

HTML::Clean looks like a cool module, I'm sure I'll use it often now that I
know of it - thanks for pointing it out...

--Geoff

> -----Original Message-----
> From: Paul Lindner [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 22, 2000 10:53 AM
> To: Geoffrey Young
> Cc: 'Dave DeMaagd'; [EMAIL PROTECTED]
> Subject: Re: stripping CRLF on the way out?
> 
> 
> Try running HTML::Clean on your template, instead of using CPU for
> every request to strip output.
> 
> I've done this with some success on a few projects..
> 
> Also, Apache::ASP users can activate HTML::Clean to post-process all
> HTML output, which can result in 20-40% savings.
> 
> I read somewhere that 5 bytes is equivalent to 1ms on a 28.8
> connection, so these types of optimizations are generally worth the
> effort.
> 
> > > -----Original Message-----
> > > From: Dave DeMaagd [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, June 22, 2000 11:15 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: stripping CRLF on the way out?
> > > 
> > > 
> > > Have an application that generates nicely formatted HTML (from
> > > templates, so that they can be easily edited), but since there's a
> > > awful lot of extra line breaks (and other things, like 
> comments) that
> > > we'd like to strip out (save bandwidth), is there an easy 
> way to do
> > > this via mod_perl, something like a PerlOutputHandler???  
> > > 
> > > Something like this would be a far sight easier than 
> having to rewrite
> > > all of the scripts to do this themselves...  
> > > 
> > > Any advice would help greatly! 
> > > 
> > > -- 
> > > Dave DeMaagd - [EMAIL PROTECTED] - http://www.spinynorm.net
> > > I don't have a solution, but I admire your problem.
> > > SysAdmin/Programmer - TheImageGroup - ===|:=P~~~~
> > > 
> 
> -- 
> Paul Lindner
> [EMAIL PROTECTED]
> Red Hat Inc..
> 

Reply via email to