Re: Whitespace strip filter for httpd v2.1

2004-11-23 Thread Graham Leggett
Ian Holsman wrote: In a nutshell, it is very hard to strip whitespace out of HTML, and have the resulting file still be as valid as the old one. Browsers are very forgiving on something and not on others. for example, you should not strip code inside of javascript, or 'pre' tags. The filter does

Whitespace strip filter for httpd v2.1

2004-11-22 Thread Graham Leggett
Hi all, I have attached a small filter module that strips leading whitespace from text files. This would typically be used to remove the indenting whitespace found inside HTML files, resulting in a significant reduction in network traffic for some sites. I didn't bother to include trailing

Re: Whitespace strip filter for httpd v2.1

2004-11-22 Thread Bill Stoddard
Graham Leggett wrote: Hi all, I have attached a small filter module that strips leading whitespace from text files. This would typically be used to remove the indenting whitespace found inside HTML files, resulting in a significant reduction in network traffic for some sites. I didn't bother

Re: Whitespace strip filter for httpd v2.1

2004-11-22 Thread Graham Leggett
Bill Stoddard wrote: +1 in concept but code not reviewed. mod_deflate would effectivly do the same thing, right? What user base would are we targeting with this module (looking for an answer a bit more specific than 'web clients that don't support gzip decoding'). Bandwidth reduction for

Re: Whitespace strip filter for httpd v2.1

2004-11-22 Thread Geoffrey Young
Graham Leggett wrote: Hi all, I have attached a small filter module that strips leading whitespace from text files. This would typically be used to remove the indenting whitespace found inside HTML files, resulting in a significant reduction in network traffic for some sites. I didn't

Re: Whitespace strip filter for httpd v2.1

2004-11-22 Thread Cliff Woolley
On Mon, 22 Nov 2004, Graham Leggett wrote: I have attached a small filter module that strips leading whitespace from text files. This would typically be used to remove the indenting whitespace found inside HTML files, resulting in a significant reduction in network traffic for some sites. I

Re: Whitespace strip filter for httpd v2.1

2004-11-22 Thread Ian Holsman
Cliff Woolley wrote: On Mon, 22 Nov 2004, Graham Leggett wrote: I have attached a small filter module that strips leading whitespace from text files. This would typically be used to remove the indenting whitespace found inside HTML files, resulting in a significant reduction in network traffic