mod_strip newline substitution problem
Evan Miller
emmiller+gmane at gmail.com
Sat May 3 22:39:28 MSD 2008
Rt Ibmer <rtibmx at ...> writes:
>
>
> Hi Evan
>
> > The problem is that I can't replace newlines before end tags with a space:
>
> Is that going to make it even more challenging to add support for removing
unnecessary spaces from JavaScript files? Would love to see support for that
one day. Currently we are doing this with a filter at the web server level and
I bet doing it at the nginx level would be much more efficient.
Yes. The module will need to be rewritten to parse other languages. I'd like to
use Ragel, a state-machine generator that operates on data buffers.
http://www.cs.queensu.ca/~thurston/ragel/
Evan
More information about the nginx
mailing list