Re: stripping CRLF on the way out?

2000-06-24 Thread Ged Haywood
Hi all, On Thu, 22 Jun 2000, Paul Lindner wrote: 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. Don't forget that modems can be clever too. Most do their own data compression on the fly, so you may

RE: stripping CRLF on the way out?

2000-06-22 Thread Geoffrey Young
I wrote a quick handler that implements a regex as a PerlHandler maybe this will help to strip out comments: (oh, and if anyone would like to see this as an official module, I can clean it up and release it - I didn't really think there would be much interest in it when I wrote it...) package

RE: stripping CRLF on the way out?

2000-06-22 Thread Geoffrey Young
-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

Re: stripping CRLF on the way out?

2000-06-22 Thread Frank D. Cringle
Dave DeMaagd [EMAIL PROTECTED] writes: 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

RE: stripping CRLF on the way out?

2000-06-22 Thread Mark Hewis
If bandwidth is your issue then why not just zip them up look at Apache-GzipChain-0.06 -Original Message- From: Dave DeMaagd [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 22, 2000 4:15 PM To: [EMAIL PROTECTED] Subject: stripping CRLF on the way out? Have an application that

Re: stripping CRLF on the way out?

2000-06-22 Thread Paul Lindner
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