cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Morandini" <luca.morandi...@tin.it>
Subject FW: Compression in HTML Serializer ?
Date Sat, 09 Mar 2002 16:21:13 GMT
 Jörn,

 well, as far as I know, the <xsl:output> element in stylesheet
 doesn't work in Cocoon.
 But, fortunately, the <indent> element can be set to "yes" in
 both the XMLSerializer and HTMLSerializer declatarions of the
 sitemap (as you suggested).

 This trims the fat a little... but I'd like to trim Javascript as well
 ... anyway, thanks for helping me.

 Best regards,

 ---------------------------------------------
                Luca Morandini
                GIS Consultant
               lmorandini@ieee.org
 http://utenti.tripod.it/lmorandini/index.html
 ---------------------------------------------


> > -----Original Message-----
> > From: Jörn Heid [mailto:heid@fh-heilbronn.de]
> > Sent: Saturday, March 09, 2002 2:52 PM
> > To: cocoon-users@xml.apache.org; lmorandini@ieee.org
> > Subject: AW: Compression in HTML Serializer ?
> >
> >
> > 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.
> >
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Luca Morandini [mailto:luca.morandini1@tin.it]
> > Gesendet: Samstag, 9. März 2002 12:54
> > An: Cocoon-users
> > Betreff: Compression in HTML Serializer ?
> >
> >
> > Folks,
> >
> > I've been ruminating about speeding up my Cocoon app... and came
> > up with the
> > conclusion that un-necessary white spaces in my app use more than
> > the usual
> > 20-30% of an HTML page.
> >
> > Hence, I was wondering how to squeeze HTML of unnecessary spaces (and,
> > maybe, of Javascript comments ?) in the HTML Serializer (or in a
> > HTMLSerializer-derived serializer).
> >
> > I know, web-servers can use compression schemes, but I'd like
> to give them
> > something slimmer anyway.
> >
> > Does it make any sense ?
> > There's anyone who already thougth about it ?
> > Is someone interested in developing it ?
> >
> > Best regards,
> >
> > ---------------------------------------------
> >                Luca Morandini
> >                GIS Consultant
> >               lmorandini@ieee.org
> > http://utenti.tripod.it/lmorandini/index.html
> > ---------------------------------------------
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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: <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> >


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message