You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Sebastien SACARD <se...@kelkoo.com> on 2002/06/25 13:33:43 UTC
'optimised HTML' serialiser
Hi,
In a production environment, it's important to have 'optimised HTML'
(without quotes, without spaces, etc ...) in order to lower the number
of bytes to the end user. This question sounds a little silly, but does
anyone know a transformer or a serialiser that produces such HTML ?
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: 'optimised HTML' serialiser
Posted by Sebastien SACARD <se...@kelkoo.com>.
Excellent, thanks !!
Bert Van Kets wrote:
> If you want to strip the indent spaces add these lines to the last XSL:
>
> <xsl:output indent="no" method="html"/>
> <xsl:strip-space elements="*"/>
>
> To optimise the flow, I add them to every XSL.
> Bert
>
> At 13:33 25/06/2002 +0200, you wrote:
>
>> Hi,
>>
>> In a production environment, it's important to have 'optimised HTML'
>> (without quotes, without spaces, etc ...) in order to lower the
>> number of bytes to the end user. This question sounds a little silly,
>> but does anyone know a transformer or a serialiser that produces such
>> HTML ?
>>
>>
>> ---------------------------------------------------------------------
>> Please check that your question has not already been answered in the
>> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>>
>> To unsubscribe, e-mail: <co...@xml.apache.org>
>> For additional commands, e-mail: <co...@xml.apache.org>
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
--
#############################################################
Sébastien Sacard
Kelkoo.com - R&D team
Phone: +(33) 4 76 29 73 51
Email: Sebastien.Sacard@kelkoo.com
Aim : KelkooXIII
#############################################################
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: 'optimised HTML' serialiser
Posted by Luca Morandini <lu...@tin.it>.
Sebastien,
according to: http://webreference.com/internet/software/servers/http/compression/ it does, with some limitations though.
Best regards,
---------------------------------------------
Luca Morandini
GIS Consultant
lmorandini@ieee.org
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------
> -----Original Message-----
> From: Sebastien SACARD [mailto:sebastien.sacard@kelkoo.com]
> Sent: Tuesday, June 25, 2002 2:27 PM
> To: cocoon-users@xml.apache.org
> Subject: Re: 'optimised HTML' serialiser
>
>
> Not supported by Netscape 4.X....
>
> Luca Morandini wrote:
>
> >...or, for the sake of getting rid of indentation, you can set <indent>no</indent> in your HTML serializer definition.
> >
> >But, if you have big HTMLs, the real answer is compress the whole thing; both IIS and Apache have this feature, which is
> supported
> >by most browsers too.
> >
> >Best regards,
> >
> >---------------------------------------------
> > Luca Morandini
> > GIS Consultant
> > lmorandini@ieee.org
> >http://utenti.tripod.it/lmorandini/index.html
> >---------------------------------------------
> >
> >
> >>-----Original Message-----
> >>From: Bert Van Kets [mailto:bert@vankets.com]
> >>Sent: Tuesday, June 25, 2002 2:10 PM
> >>To: cocoon-users@xml.apache.org
> >>Subject: Re: 'optimised HTML' serialiser
> >>
> >>
> >>If you want to strip the indent spaces add these lines to the last XSL:
> >>
> >> <xsl:output indent="no" method="html"/>
> >> <xsl:strip-space elements="*"/>
> >>
> >>To optimise the flow, I add them to every XSL.
> >>Bert
> >>
> >>At 13:33 25/06/2002 +0200, you wrote:
> >>
> >>>Hi,
> >>>
> >>>In a production environment, it's important to have 'optimised HTML'
> >>>(without quotes, without spaces, etc ...) in order to lower the number of
> >>>bytes to the end user. This question sounds a little silly, but does
> >>>anyone know a transformer or a serialiser that produces such HTML ?
> >>>
> >>>
> >>>---------------------------------------------------------------------
> >>>Please check that your question has not already been answered in the
> >>>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> >>>
> >>>To unsubscribe, e-mail: <co...@xml.apache.org>
> >>>For additional commands, e-mail: <co...@xml.apache.org>
> >>>
> >>
> >>---------------------------------------------------------------------
> >>Please check that your question has not already been answered in the
> >>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> >>
> >>To unsubscribe, e-mail: <co...@xml.apache.org>
> >>For additional commands, e-mail: <co...@xml.apache.org>
> >>
> >
> >
> >---------------------------------------------------------------------
> >Please check that your question has not already been answered in the
> >FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> >
> >To unsubscribe, e-mail: <co...@xml.apache.org>
> >For additional commands, e-mail: <co...@xml.apache.org>
> >
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: 'optimised HTML' serialiser
Posted by Sebastien SACARD <se...@kelkoo.com>.
Not supported by Netscape 4.X....
Luca Morandini wrote:
>...or, for the sake of getting rid of indentation, you can set <indent>no</indent> in your HTML serializer definition.
>
>But, if you have big HTMLs, the real answer is compress the whole thing; both IIS and Apache have this feature, which is supported
>by most browsers too.
>
>Best regards,
>
>---------------------------------------------
> Luca Morandini
> GIS Consultant
> lmorandini@ieee.org
>http://utenti.tripod.it/lmorandini/index.html
>---------------------------------------------
>
>
>>-----Original Message-----
>>From: Bert Van Kets [mailto:bert@vankets.com]
>>Sent: Tuesday, June 25, 2002 2:10 PM
>>To: cocoon-users@xml.apache.org
>>Subject: Re: 'optimised HTML' serialiser
>>
>>
>>If you want to strip the indent spaces add these lines to the last XSL:
>>
>> <xsl:output indent="no" method="html"/>
>> <xsl:strip-space elements="*"/>
>>
>>To optimise the flow, I add them to every XSL.
>>Bert
>>
>>At 13:33 25/06/2002 +0200, you wrote:
>>
>>>Hi,
>>>
>>>In a production environment, it's important to have 'optimised HTML'
>>>(without quotes, without spaces, etc ...) in order to lower the number of
>>>bytes to the end user. This question sounds a little silly, but does
>>>anyone know a transformer or a serialiser that produces such HTML ?
>>>
>>>
>>>---------------------------------------------------------------------
>>>Please check that your question has not already been answered in the
>>>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>>>
>>>To unsubscribe, e-mail: <co...@xml.apache.org>
>>>For additional commands, e-mail: <co...@xml.apache.org>
>>>
>>
>>---------------------------------------------------------------------
>>Please check that your question has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>>
>>To unsubscribe, e-mail: <co...@xml.apache.org>
>>For additional commands, e-mail: <co...@xml.apache.org>
>>
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail: <co...@xml.apache.org>
>For additional commands, e-mail: <co...@xml.apache.org>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: 'optimised HTML' serialiser
Posted by Luca Morandini <lu...@tin.it>.
...or, for the sake of getting rid of indentation, you can set <indent>no</indent> in your HTML serializer definition.
But, if you have big HTMLs, the real answer is compress the whole thing; both IIS and Apache have this feature, which is supported
by most browsers too.
Best regards,
---------------------------------------------
Luca Morandini
GIS Consultant
lmorandini@ieee.org
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------
> -----Original Message-----
> From: Bert Van Kets [mailto:bert@vankets.com]
> Sent: Tuesday, June 25, 2002 2:10 PM
> To: cocoon-users@xml.apache.org
> Subject: Re: 'optimised HTML' serialiser
>
>
> If you want to strip the indent spaces add these lines to the last XSL:
>
> <xsl:output indent="no" method="html"/>
> <xsl:strip-space elements="*"/>
>
> To optimise the flow, I add them to every XSL.
> Bert
>
> At 13:33 25/06/2002 +0200, you wrote:
> >Hi,
> >
> >In a production environment, it's important to have 'optimised HTML'
> >(without quotes, without spaces, etc ...) in order to lower the number of
> >bytes to the end user. This question sounds a little silly, but does
> >anyone know a transformer or a serialiser that produces such HTML ?
> >
> >
> >---------------------------------------------------------------------
> >Please check that your question has not already been answered in the
> >FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> >
> >To unsubscribe, e-mail: <co...@xml.apache.org>
> >For additional commands, e-mail: <co...@xml.apache.org>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: 'optimised HTML' serialiser
Posted by Bert Van Kets <be...@vankets.com>.
If you want to strip the indent spaces add these lines to the last XSL:
<xsl:output indent="no" method="html"/>
<xsl:strip-space elements="*"/>
To optimise the flow, I add them to every XSL.
Bert
At 13:33 25/06/2002 +0200, you wrote:
>Hi,
>
>In a production environment, it's important to have 'optimised HTML'
>(without quotes, without spaces, etc ...) in order to lower the number of
>bytes to the end user. This question sounds a little silly, but does
>anyone know a transformer or a serialiser that produces such HTML ?
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail: <co...@xml.apache.org>
>For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>