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
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
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
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
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
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
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