Alex,

thanks for your help... but I'm using IIS (which have a similar ISAPI
filter, anyway) and I wanted something to trim the fat before reaching the
web-server.

Anyway, setting indent to "no" for the HTMLSerializer and normalizing spaces
in XSL I went a long way toward a slimmer HTML.

I'm thinking about batch-processing my static Javascript files with a
comment-and-blanks-stripper (like HTMLCompress) and serve them using the
web-server... this should be the fastest way, I guess.

Best regards,

---------------------------------------------
               Luca Morandini
               GIS Consultant
              [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: Alex McLintock [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, March 10, 2002 9:26 PM
> To: [EMAIL PROTECTED]
> Subject: Re: AW: Compression in HTML Serializer ?
>
>
> Someone asked about removing superfluous spaces in generated html
>
> At 13:51 09/03/02, Jörn Heid wrote:
> >You can remove most of those whitespaces (those between tags)
> with xslt und
> >some configurations within the sitemap.
> >
> >This won't work for JavaScript or CSS as it's plain text.
>
>
> If you are using Apache server as the front end webserver and using
> something like the mod_web_app to talk to your servlet engine, you might
> consider using mod_gzip on the Apache box to compress the traffic between
> the web server and the client.
>
> Sorry for coming up with a non-Cocoon answer :-)
>
> Alex
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to